Searched refs:setlock (Results 1 – 1 of 1) sorted by relevance
60 int setlock(int, int);304 err = setlock(devfd, lock); in main()353 int setlock(int fd, int lock) in setlock() function777 if (setlock(fd, 1)) { in writeall()796 if (setlock(fd, 0)) { in writeall()805 setlock(fd, 0); in writeall()826 if (setlock(fd, 1)) { in readall()845 if (setlock(fd, 0)) { in readall()