Searched refs:setlock (Results 1 – 1 of 1) sorted by relevance
63 int setlock(int, int);307 err = setlock(devfd, lock); in main()356 int setlock(int fd, int lock) in setlock() function780 if (setlock(fd, 1)) { in writeall()799 if (setlock(fd, 0)) { in writeall()808 setlock(fd, 0); in writeall()829 if (setlock(fd, 1)) { in readall()848 if (setlock(fd, 0)) { in readall()