Revision 7915,
496 bytes
checked in by miki, 29 years ago
(diff) |
Initial revision
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | /* |
---|
2 | * BSD functions in POSIX |
---|
3 | */ |
---|
4 | |
---|
5 | #define LOCK_SH 1 /* shared lock */ |
---|
6 | #define LOCK_EX 2 /* exclusive lock */ |
---|
7 | #define LOCK_NB 4 /* don't block when locking */ |
---|
8 | #define LOCK_UN 8 /* unlock */ |
---|
9 | |
---|
10 | int |
---|
11 | flock(int fd, int operation); |
---|
12 | |
---|
13 | typedef void Sigfunc(int); /* for signal handlers */ |
---|
14 | |
---|
15 | /* 4.3BSD Reno <signal.h> doesn't define SIG_ERR */ |
---|
16 | #if defined(SIG_IGN) && !defined(SIG_ERR) |
---|
17 | #define SIG_ERR ((Sigfunc *)-1) |
---|
18 | #endif |
---|
19 | |
---|
20 | Sigfunc * |
---|
21 | signal(int signo, Sigfunc *func); |
---|
Note: See
TracBrowser
for help on using the repository browser.