summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-06-03 01:49:35 +0000
committerderaadt <deraadt@openbsd.org>2015-06-03 01:49:35 +0000
commitaead66f0fb3c461734b88d1b01f18749cd39f7bc (patch)
tree419b3e7baad489e4d5aa23cbd62fea86ec24119c
parentmissing __EOT spotted by rpe@ (diff)
downloadwireguard-openbsd-aead66f0fb3c461734b88d1b01f18749cd39f7bc.tar.xz
wireguard-openbsd-aead66f0fb3c461734b88d1b01f18749cd39f7bc.zip
better description of internal copyn() function
-rw-r--r--bin/csh/file.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/csh/file.c b/bin/csh/file.c
index 5d1fd48993b..f9e3d2015eb 100644
--- a/bin/csh/file.c
+++ b/bin/csh/file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.c,v 1.19 2015/02/08 05:47:28 tedu Exp $ */
+/* $OpenBSD: file.c,v 1.20 2015/06/03 01:49:35 deraadt Exp $ */
/* $NetBSD: file.c,v 1.11 1996/11/08 19:34:37 christos Exp $ */
/*-
@@ -186,8 +186,7 @@ catn(Char *des, Char *src, int count)
}
/*
- * Like strncpy but always leave room for trailing \0
- * and always null terminate.
+ * Places Char's like strlcpy, but no special return value.
*/
static void
copyn(Char *des, Char *src, int count)