Searched defs:lockf (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/compat/common/
H A Dlockf.c38 * convert lockf() into fcntl() for SystemV compatibility
47 lockf(int fildes, int function, long size) function
53 ld.l_type = F_WRLCK; /* lockf() only deals with exclusive locks */
/illumos-gate/usr/src/cmd/bnu/
H A Dulockf.c364 while ( lockf(fd, F_TLOCK, 0L) != 0 ) {
365 DEBUG(7, "fd_mklock: lockf returns %d\n", errno);
368 logent("fd_mklock","lockf failed");
426 return( lockf(fd, F_TEST, 0L) );
448 (void) lockf(fd, F_ULOCK, 0L);
456 lockf(fd, cmd, size) function
/illumos-gate/usr/src/head/
H A Dunistd.h205 #pragma redefine_extname lockf lockf64
213 #define lockf lockf64 macro
226 #pragma redefine_extname lockf64 lockf
234 #define lockf64 lockf
413 extern int lockf(int, int, off_t);
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dscalls.c59 #pragma weak _lockf = lockf
775 lockf(int fildes, int function, off_t size) function

Completed in 49 milliseconds