diff options
author | 2000-04-21 15:24:18 +0000 | |
---|---|---|
committer | 2000-04-21 15:24:18 +0000 | |
commit | 60ab2826e6a68856a3f0b37c4345bfc35c6c0c28 (patch) | |
tree | 242337194a050a28ff13525992611dabe0a84956 /lib/libc/string/strdup.3 | |
parent | NRL pcb issue; inp_{f,l}addr{,6} is a union so we need to be sure about (diff) | |
download | wireguard-openbsd-60ab2826e6a68856a3f0b37c4345bfc35c6c0c28.tar.xz wireguard-openbsd-60ab2826e6a68856a3f0b37c4345bfc35c6c0c28.zip |
Flesh out libc string function man pages.
Diffstat (limited to 'lib/libc/string/strdup.3')
-rw-r--r-- | lib/libc/string/strdup.3 | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/string/strdup.3 b/lib/libc/string/strdup.3 index 73c144d6e4c..457b8322cff 100644 --- a/lib/libc/string/strdup.3 +++ b/lib/libc/string/strdup.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strdup.3,v 1.7 1999/06/04 19:14:56 aaron Exp $ +.\" $OpenBSD: strdup.3,v 1.8 2000/04/21 15:24:20 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -46,13 +46,10 @@ .Sh DESCRIPTION The .Fn strdup -function -allocates sufficient memory for a copy -of the string +function allocates sufficient memory for a copy of the string .Fa s , does the copy, and returns a pointer to it. -The pointer may subsequently be used as an -argument to the function +The pointer may subsequently be used as an argument to the function .Xr free 3 . .Pp If insufficient memory is available, |