summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/pdfork.24
-rw-r--r--sys/sys/procdesc.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/pdfork.2 b/lib/libc/sys/pdfork.2
index 8fb1f85..87f2c8c 100644
--- a/lib/libc/sys/pdfork.2
+++ b/lib/libc/sys/pdfork.2
@@ -32,7 +32,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 28, 2013
+.Dd April 4, 2014
.Dt PDFORK 2
.Os
.Sh NAME
@@ -45,7 +45,7 @@
.Lb libc
.Sh SYNOPSIS
.In sys/procdesc.h
-.Ft int
+.Ft pid_t
.Fn pdfork "int *fdp" "int flags"
.Ft int
.Fn pdgetpid "int fd" "pid_t *pidp"
diff --git a/sys/sys/procdesc.h b/sys/sys/procdesc.h
index 4d77a05..4586bdd 100644
--- a/sys/sys/procdesc.h
+++ b/sys/sys/procdesc.h
@@ -105,7 +105,7 @@ void procdesc_reap(struct proc *);
* Process descriptor system calls.
*/
struct rusage;
-int pdfork(int *, int);
+pid_t pdfork(int *, int);
int pdkill(int, int);
int pdgetpid(int, pid_t *);
OpenPOWER on IntegriCloud