Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys fix typo and minor usage issue
details: https://anonhg.NetBSD.org/src/rev/b9b7e7fea73e
branches: trunk
changeset: 330696:b9b7e7fea73e
user: dholland <dholland%NetBSD.org@localhost>
date: Fri Jul 18 15:56:44 2014 +0000
description:
fix typo and minor usage issue
diffstat:
lib/libc/sys/vfork.2 | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 4ed6eac9846b -r b9b7e7fea73e lib/libc/sys/vfork.2
--- a/lib/libc/sys/vfork.2 Fri Jul 18 12:39:17 2014 +0000
+++ b/lib/libc/sys/vfork.2 Fri Jul 18 15:56:44 2014 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: vfork.2,v 1.24 2003/08/07 16:44:11 agc Exp $
+.\" $NetBSD: vfork.2,v 1.25 2014/07/18 15:56:44 dholland Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -73,12 +73,12 @@
.Nm
system call can normally be used just like
.Xr fork 2 .
-It does not work, however, to return while running in the childs context
+It does not work, however, to return while running in the child's context
from the procedure that called
.Fn vfork
since the eventual return from
.Fn vfork
-would then return to a no longer existent stack frame.
+would then return to a no longer existing stack frame.
Be careful, also, to call
.Xr _exit 2
rather than
Home |
Main Index |
Thread Index |
Old Index