|
|
1.1 ! root 1: .TH OPENSHARES 3 SHARE ! 2: .SH NAME ! 3: openshares \- open shares file ! 4: .SH SYNOPSIS ! 5: .B "int openshares(lock)" ! 6: .br ! 7: .B "int lock;" ! 8: .SH DESCRIPTION ! 9: .I Openshares ! 10: attempts to open the shares file for writing, ! 11: otherwise, ! 12: if ! 13: .I lock ! 14: is 0, ! 15: it attempts to open it for reading. ! 16: If one of the opens succeeds, ! 17: it returns 1, ! 18: otherwise it returns 0. ! 19: .PP ! 20: If the shares file is already open, ! 21: this routine does nothing. ! 22: .SH FILES ! 23: .PD 0 ! 24: .TP "\w'/etc/sharesXXXX'u" ! 25: /etc/shares ! 26: Shares data-base. ! 27: .PD ! 28: .SH "SEE ALSO" ! 29: closeshares(3), ! 30: getshares(3), ! 31: getshput(3), ! 32: putshares(3), ! 33: sharesfile(3).
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.