Declare lockf().

This commit is contained in:
Dmitrij Tejblum 1998-07-08 15:14:48 +00:00
parent c713c527bb
commit 6c0a7ecfd4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37509

View File

@ -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 *));