Browse Source

add XPG4.2 lockf; kleink

OPENBSD_2_3
deraadt 27 years ago
parent
commit
f370cd1e6f
1 changed files with 11 additions and 1 deletions
  1. +11
    -1
      src/include/unistd.h

+ 11
- 1
src/include/unistd.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: unistd.h,v 1.14 1997/11/16 01:01:24 deraadt Exp $ */
/* $OpenBSD: unistd.h,v 1.15 1997/12/22 10:13:50 deraadt Exp $ */
/* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */
/*-
@ -191,6 +191,16 @@ extern int optreset;
int getsubopt __P((char **, char * const *, char **));
extern char *suboptarg; /* getsubopt(3) external variable */
#endif /* !_POSIX_SOURCE */
#if (!defined(_POSIX_SOURCE) && !defined(_POSIX_C_SOURCE) && \
!defined(_XOPEN_SOURCE)) || \
(defined(_XOPEN_SOURCE) && _XOPEN_SOURCE_EXTENDED - 0 == 1)
#define F_ULOCK 0
#define F_LOCK 1
#define F_TLOCK 2
#define F_TEST 3
int lockf __P((int, int, off_t));
#endif /* (!defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)) || ... */
__END_DECLS
#endif /* !_UNISTD_H_ */

Loading…
Cancel
Save