code: plan9front

Download patch

ref: 4e8c03184992a548b6cba1cd32fc43e84c7c1304
parent: c8748ffbc3dac53a6d2f031222f262ad22a49b5e
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Mar 30 00:31:53 EDT 2023

srv(3): improve the example (thanks mcf)

--- a/sys/man/3/srv
+++ b/sys/man/3/srv
@@ -109,7 +109,7 @@
 .EX
 <[3]/srv/clone{
 	id=`{<[0=3]read}
-	<[3=0]@{ #hide clone fd
+	<[3=]@{ # close the clone fd
 		rfork n
 		bind -c /srv/$id /srv
 		auth/factotum -s factotum