Searched refs:flock_ptr (Results 1 – 1 of 1) sorted by relevance
119 struct flock *flock_ptr = &flock_struct; variable374 flock_ptr->l_whence = 0; in lock_file()375 flock_ptr->l_start = 0; in lock_file()376 flock_ptr->l_len = 0; in lock_file()377 flock_ptr->l_type = lock_type; in lock_file()379 while (fcntl(fd, lock_mode, flock_ptr) == -1) { in lock_file()403 flock_ptr->l_type = F_UNLCK; in unlock_file()405 if (fcntl(fd, F_SETLK, flock_ptr) < 0) in unlock_file()425 fcntl(fd, F_GETLK, flock_ptr); in lock_error()428 flock_ptr->l_sysid, flock_ptr->l_pid); in lock_error()