Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177740111
D61745.1795172072.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D61745.1795172072.diff
View Options
diff --git a/lib/libsys/pdfork.2 b/lib/libsys/pdfork.2
--- a/lib/libsys/pdfork.2
+++ b/lib/libsys/pdfork.2
@@ -313,7 +313,7 @@
A debugger attached by
.Xr ptrace 2
can execute the
-.Fn waitpid
+.Xr waitpid 2
calls against the alive target regardless of the way
the target process was forked.
.Ss Interaction of Process Descriptors with other System Calls
@@ -357,7 +357,7 @@
descriptor is closed,
whether or not the zombie process is reaped by
.Fn pdwait ,
-.Fn wait6 ,
+.Xr wait6 2 ,
or similar system calls.
.Sh RETURN VALUES
.Fn pdfork
@@ -392,13 +392,13 @@
is detected,
and the child continues execution, same as the parent.
If this error must be handled, it is advisable to memoize the
-.Fn getpid
+.Xr getpid 2
result before the call to
.Fn pdfork
or
.Fn pdrfork ,
and compare it to the value returned by
-.Fn getpid
+.Xr getpid 2
after, to see if code is executing in parent or child.
.It Bq Er EINVAL
The signal number given to
@@ -502,10 +502,13 @@
.Xr close 2 ,
.Xr fork 2 ,
.Xr fstat 2 ,
+.Xr getpid 2 ,
.Xr kill 2 ,
.Xr kqueue 2 ,
.Xr poll 2 ,
.Xr wait4 2 ,
+.Xr wait6 2 ,
+.Xr waitpid 2 ,
.Xr capsicum 4 ,
.Xr procdesc 4
.Sh HISTORY
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 20, 10:54 AM (22 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41865418
Default Alt Text
D61745.1795172072.diff (1 KB)
Attached To
Mode
D61745: pdfork.2: always use .Xr macro for references to other manual pages
Attached
Detach File
Event Timeline