summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strcpy.3
diff options
context:
space:
mode:
authorjaredy <>2005-08-06 03:21:36 +0000
committerjaredy <>2005-08-06 03:21:36 +0000
commit688d6cbb33ef71f63fab8688e85ac2f7aeb7b164 (patch)
tree77512edbdfbc7521fca9b386450af369c7b4ee75 /src/lib/libc/string/strcpy.3
parent932da6a5c29178852f64fcd9163a9ea6b06cd011 (diff)
downloadopenbsd-688d6cbb33ef71f63fab8688e85ac2f7aeb7b164.tar.gz
openbsd-688d6cbb33ef71f63fab8688e85ac2f7aeb7b164.tar.bz2
openbsd-688d6cbb33ef71f63fab8688e85ac2f7aeb7b164.zip
- macro, punctuation, and rewording tweaks
- avoid first person. ok jmc
Diffstat (limited to 'src/lib/libc/string/strcpy.3')
-rw-r--r--src/lib/libc/string/strcpy.37
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libc/string/strcpy.3 b/src/lib/libc/string/strcpy.3
index 504f42f2ba..2bc413c6ca 100644
--- a/src/lib/libc/string/strcpy.3
+++ b/src/lib/libc/string/strcpy.3
@@ -29,7 +29,7 @@
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE. 30.\" SUCH DAMAGE.
31.\" 31.\"
32.\" $OpenBSD: strcpy.3,v 1.13 2005/02/25 03:12:44 cloder Exp $ 32.\" $OpenBSD: strcpy.3,v 1.14 2005/08/06 03:21:36 jaredy Exp $
33.\" 33.\"
34.Dd June 29, 1991 34.Dd June 29, 1991
35.Dt STRCPY 3 35.Dt STRCPY 3
@@ -100,7 +100,8 @@ and does
100.Em not 100.Em not
101NUL terminate 101NUL terminate
102.Va chararray 102.Va chararray
103because the source string is >= the length parameter. 103because the length of the source string is greater than or equal to the
104length parameter.
104.Fn strncpy 105.Fn strncpy
105.Em only 106.Em only
106NUL terminates the destination string when the length of the source 107NUL terminates the destination string when the length of the source
@@ -118,7 +119,7 @@ Because
118.Fn strncpy 119.Fn strncpy
119does 120does
120.Em not 121.Em not
121guarantee to NUL terminate the string itself, we must do this by hand. 122guarantee to NUL terminate the string itself, it must be done by hand.
122.Bd -literal -offset indent 123.Bd -literal -offset indent
123char buf[BUFSIZ]; 124char buf[BUFSIZ];
124 125