1/*$Id: locking.h,v 1.8 2001/06/03 21:56:11 guenther Exp $*/
2
3void
4 unlock P((char**const lockp));
5int
6 lockit P((char*name,char**const lockp)),
7 lcllock P((const char*const noext,const char*const withext)),
8 xcreat Q((const char*const name,const mode_t mode,time_t*const tim,
9  const chownit));
10
11#ifdef NOfcntl_lock
12#ifndef USElockf
13#ifndef USEflock
14#define fdlock(fd)	0
15#define fdunlock()	0
16#endif
17#endif
18#endif
19#ifndef fdlock
20int
21 fdlock P((int fd)),
22 fdunlock P((void));
23#endif
24
25extern char*globlock;
26