summaryrefslogtreecommitdiff
path: root/static/unix-v10/man3/putshares.3
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
commit97d5c458cfa039d857301e1ca7d5af3beb37131d (patch)
treeb460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man3/putshares.3
parentb89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff)
build: Better Build System
Diffstat (limited to 'static/unix-v10/man3/putshares.3')
-rw-r--r--static/unix-v10/man3/putshares.337
1 files changed, 37 insertions, 0 deletions
diff --git a/static/unix-v10/man3/putshares.3 b/static/unix-v10/man3/putshares.3
new file mode 100644
index 00000000..e54e2ed7
--- /dev/null
+++ b/static/unix-v10/man3/putshares.3
@@ -0,0 +1,37 @@
+.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.