File:  [Research Unix] / researchv10dc / man / manx / putshares.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 3 months ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.TH PUTSHARES 3 SHARE
.SH NAME
putshares \- write shares file entry
.SH SYNOPSIS
.B "#include <shares.h>"
.br
.sp
.B "int putshares(lp, extime)"
.br
.B "struct lnode * lp;"
.br
.B "unsigned long extime;"
.SH DESCRIPTION
.I Putshares
writes the shares entry with the same uid as
.IR lp\->l_uid .
.I Putshares
returns -1 if any error occurs,
0 if
.I lp\->l_uid
is greater than
.SM MAXUID ,
or the size of the entry if succesfully written.
.SH "SEE ALSO"
closeshares(3),
getshares(3),
getshput(3),
openshares(3),
sharesfile(3).
.SH DIAGNOSTICS
.I Putshares
returns 0
if
.I lp\->l_uid
is greater than
.SM MAXUID ,
or -1 on error.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.