diff options
author | 2008-04-24 20:43:20 +0000 | |
---|---|---|
committer | 2008-04-24 20:43:20 +0000 | |
commit | aa23f690d874cd27a43516de8f2be93ea7d6a7ad (patch) | |
tree | ba7713c633cc8d02d5034f0fee4cc985abcbf199 /lib/libc/sys/vfork.2 | |
parent | Prevent overflow of cmd_argv if RCS_INIT and command line arguments (diff) | |
download | wireguard-openbsd-aa23f690d874cd27a43516de8f2be93ea7d6a7ad.tar.xz wireguard-openbsd-aa23f690d874cd27a43516de8f2be93ea7d6a7ad.zip |
- correct brk(2) prototype and man page to match implementation and POSIX.
brk(2) returns an int value not a void *. brk(2) returns 0 upon success not
a pointer to the new end of memory. okay millert@, kettenis@, deraadt@
Diffstat (limited to 'lib/libc/sys/vfork.2')
-rw-r--r-- | lib/libc/sys/vfork.2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/vfork.2 b/lib/libc/sys/vfork.2 index ec0e5a75639..6eaa56aedf7 100644 --- a/lib/libc/sys/vfork.2 +++ b/lib/libc/sys/vfork.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: vfork.2,v 1.16 2008/04/04 19:30:41 kurt Exp $ +.\" $OpenBSD: vfork.2,v 1.17 2008/04/24 20:43:20 kurt Exp $ .\" $NetBSD: vfork.2,v 1.8 1997/07/10 07:54:13 mikel Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)vfork.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: April 4 2008 $ +.Dd $Mdocdate: April 24 2008 $ .Dt VFORK 2 .Os .Sh NAME |