mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-02 12:20:51 +00:00
Declare lockf().
This commit is contained in:
parent
c713c527bb
commit
6c0a7ecfd4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37509
@ -48,6 +48,13 @@
|
||||
#define NULL 0 /* null pointer constant */
|
||||
#endif
|
||||
|
||||
#ifndef _POSIX_SOURCE
|
||||
#define F_ULOCK 0 /* unlock locked section */
|
||||
#define F_LOCK 1 /* lock a section for exclusive use */
|
||||
#define F_TLOCK 2 /* test and lock a section for exclusive use */
|
||||
#define F_TEST 3 /* test a section for locks by other processes */
|
||||
#endif
|
||||
|
||||
__BEGIN_DECLS
|
||||
void _exit __P((int)) __dead2;
|
||||
int access __P((const char *, int));
|
||||
@ -140,6 +147,7 @@ int initgroups __P((const char *, int));
|
||||
int iruserok __P((unsigned long, int, const char *, const char *));
|
||||
int issetugid __P((void));
|
||||
int lchown __P((const char *, uid_t, gid_t));
|
||||
int lockf __P((int, int, off_t));
|
||||
char *mkdtemp __P((char *));
|
||||
int mknod __P((const char *, mode_t, dev_t));
|
||||
int mkstemp __P((char *));
|
||||
|
Loading…
Reference in New Issue
Block a user