fcntl on EBADF:
The argument cmd is F_SETLK or F_SETLKW, the type of lock (l_type) is an exclusive lock (F_WRLCK), and fd is not a valid file descriptor open for writing.
Open the file for write access.
- tye
In reply to Re: Lightweight Solution To "Only 1 Process Running" On AIX (access)
by tye
in thread Lightweight Solution To "Only 1 Process Running" On AIX
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |