summaryrefslogtreecommitdiff
path: root/sys/man/2
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-03-07 20:19:14 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2020-03-07 20:19:14 +0100
commit225c359beab9e2f17c66e65647b9e0a94f942620 (patch)
treef68865f87f1c741a3a7205d66a1f9a0cddc7bde2 /sys/man/2
parente1cdcfdb172071bafef18b1ac160138c97459b79 (diff)
lib9p: get rid of Srv.nopipe and Srv.leavefdsopen hacks
it is unclear how Srv.nopipe flag should work inside postmountserv(). if a server wants to serve on stdio descriptors, he can just call srv() after initializing Srv.infd and Srv.outfd. The Srv.leavefdsopen hack can be removed now that acme win has been fixed.
Diffstat (limited to 'sys/man/2')
-rw-r--r--sys/man/2/9p6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/man/2/9p b/sys/man/2/9p
index f0f50a87e..c1c75fd61 100644
--- a/sys/man/2/9p
+++ b/sys/man/2/9p
@@ -59,7 +59,6 @@ typedef struct Srv {
int infd;
int outfd;
int srvfd;
- int nopipe;
} Srv;
.fi
.PP
@@ -175,10 +174,7 @@ are wrappers that create a separate process in which to run
.IR srv .
They do the following:
.IP
-If
-.IB s -> nopipe
-is zero (the common case),
-initialize
+Initialize
.IB s -> infd
and
.IB s -> outfd