Annotation of researchv10dc/man/manx/putshares.3, revision 1.1

1.1     ! root        1: .TH PUTSHARES 3 SHARE
        !             2: .SH NAME
        !             3: putshares \- write shares file entry
        !             4: .SH SYNOPSIS
        !             5: .B "#include <shares.h>"
        !             6: .br
        !             7: .sp
        !             8: .B "int putshares(lp, extime)"
        !             9: .br
        !            10: .B "struct lnode * lp;"
        !            11: .br
        !            12: .B "unsigned long extime;"
        !            13: .SH DESCRIPTION
        !            14: .I Putshares
        !            15: writes the shares entry with the same uid as
        !            16: .IR lp\->l_uid .
        !            17: .I Putshares
        !            18: returns -1 if any error occurs,
        !            19: 0 if
        !            20: .I lp\->l_uid
        !            21: is greater than
        !            22: .SM MAXUID ,
        !            23: or the size of the entry if succesfully written.
        !            24: .SH "SEE ALSO"
        !            25: closeshares(3),
        !            26: getshares(3),
        !            27: getshput(3),
        !            28: openshares(3),
        !            29: sharesfile(3).
        !            30: .SH DIAGNOSTICS
        !            31: .I Putshares
        !            32: returns 0
        !            33: if
        !            34: .I lp\->l_uid
        !            35: is greater than
        !            36: .SM MAXUID ,
        !            37: 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.