Searched refs:setlock (Results 1 – 1 of 1) sorted by relevance
64 int setlock(int, int);308 err = setlock(devfd, lock); in main()357 int setlock(int fd, int lock) in setlock() function781 if (setlock(fd, 1)) { in writeall()800 if (setlock(fd, 0)) { in writeall()809 setlock(fd, 0); in writeall()830 if (setlock(fd, 1)) { in readall()849 if (setlock(fd, 0)) { in readall()