summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorBen Huntsman <bhuntsman@mail2.cu-portland.edu>2021-08-08 11:03:02 -0700
committerDan Cross <crossd@gmail.com>2021-08-30 21:03:41 -0400
commit385a6d5877258cee0cac6151e6359c9206006b01 (patch)
tree15fa5629dba3a1d7ff4c0d927295b521bcd5e052 /man
parentaa01c23be63787550e64bc1a0f3a8d267cad1fa4 (diff)
downloadplan9port-385a6d5877258cee0cac6151e6359c9206006b01.tar.gz
plan9port-385a6d5877258cee0cac6151e6359c9206006b01.zip
lib9p: Remove postmountsrv (#505)
Diffstat (limited to 'man')
-rw-r--r--man/lookman.index1
-rw-r--r--man/man3/9p.314
-rw-r--r--man/man3/INDEX1
3 files changed, 3 insertions, 13 deletions
diff --git a/man/lookman.index b/man/lookman.index
index 56aabc53..56f12227 100644
--- a/man/lookman.index
+++ b/man/lookman.index
@@ -19153,7 +19153,6 @@ posted /usr/local/plan9/man/man4/plumber.4
posted /usr/local/plan9/man/man9/0intro.9p
postfd /usr/local/plan9/man/man3/9p.3
postmark /usr/local/plan9/man/man1/bundle.1
-postmountsrv /usr/local/plan9/man/man3/9p.3
postnote /usr/local/plan9/man/man3/notify.3
postnote /usr/local/plan9/man/man3/postnote.3
postnote /usr/local/plan9/man/man3/rfork.3
diff --git a/man/man3/9p.3 b/man/man3/9p.3
index adf10269..86b37faf 100644
--- a/man/man3/9p.3
+++ b/man/man3/9p.3
@@ -6,7 +6,6 @@ emalloc9p,
erealloc9p,
estrdup9p,
postfd,
-postmountsrv,
readbuf,
readstr,
respond,
@@ -61,7 +60,6 @@ typedef struct Srv {
.ft L
.ta \w'\fLvoid* 'u
int srv(Srv *s)
-void postmountsrv(Srv *s, char *name, char *mtpt, int flag)
void threadpostmountsrv(Srv *s, char *name, char *mtpt, int flag)
int postfd(char *srvname, int fd)
void respond(Req *r, char *error)
@@ -96,8 +94,6 @@ and
writing the responses to
.BR s->outfd .
(Typically,
-.I postmountsrv
-or
.I threadpostmountsrv
initializes the
.B infd
@@ -148,12 +144,10 @@ but abort the program if they run out of memory.
If alternate behavior is desired, clients can link against
alternate implementations of these functions.
.PP
-.I Postmountsrv
-and
.I threadpostmountsrv
-are wrappers that create a separate process in which to run
+is a wrapper that creates a separate process in which to run
.IR srv .
-They do the following:
+It does the following:
.IP
If
.IB s -> nopipe
@@ -296,9 +290,7 @@ the service functions.
The service loop provided by
.I srv
(and indirectly by
-.I postmountsrv
-and
-.IR threadpostmountsrv )
+.I threadpostmountsrv )
is single-threaded.
If it is expected that some requests might
block, arranging for alternate processes
diff --git a/man/man3/INDEX b/man/man3/INDEX
index 6654ea7c..39e10b41 100644
--- a/man/man3/INDEX
+++ b/man/man3/INDEX
@@ -50,7 +50,6 @@ emalloc9p 9p.3
erealloc9p 9p.3
estrdup9p 9p.3
postfd 9p.3
-postmountsrv 9p.3
readbuf 9p.3
readstr 9p.3
respond 9p.3