|
|
1.1 ! root 1: /* ! 2: * open a file for appending. if the file doesn't exist, create it. ! 3: * return the file descriptor. ! 4: */ ! 5: appendopen(file) ! 6: char *file; ! 7: { ! 8: } ! 9: ! 10: /* ! 11: * lock and open file. ! 12: * return the file descriptor. ! 13: */ ! 14: lockopen(file, mode) ! 15: char *file; ! 16: { ! 17: } ! 18: ! 19: /* ! 20: * close and unlock a file. ! 21: */ ! 22: lockclose(fd) ! 23: int fd; ! 24: { ! 25: } ! 26: ! 27: /* ! 28: * remove ALL locks ! 29: */ ! 30: cleanlocks() ! 31: { ! 32: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.