summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strcmp.3
diff options
context:
space:
mode:
authorcloder <cloder@openbsd.org>2005-02-25 03:12:43 +0000
committercloder <cloder@openbsd.org>2005-02-25 03:12:43 +0000
commit1e5ede29f718fe4f17c128f8fde29ac3824349f1 (patch)
treefd6e65cd34239687cd19bb98f99ffdf5a9155023 /lib/libc/string/strcmp.3
parentFix an obviously incorrect call to memset. '0' and 0 are not the same (diff)
downloadwireguard-openbsd-1e5ede29f718fe4f17c128f8fde29ac3824349f1.tar.xz
wireguard-openbsd-1e5ede29f718fe4f17c128f8fde29ac3824349f1.zip
Be correct in our man pages when talking about NUL termination (that is,
termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@
Diffstat (limited to 'lib/libc/string/strcmp.3')
-rw-r--r--lib/libc/string/strcmp.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/string/strcmp.3 b/lib/libc/string/strcmp.3
index d025b9cf7c1..953181e8de4 100644
--- a/lib/libc/string/strcmp.3
+++ b/lib/libc/string/strcmp.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: strcmp.3,v 1.7 2003/06/02 20:18:38 millert Exp $
+.\" $OpenBSD: strcmp.3,v 1.8 2005/02/25 03:12:44 cloder Exp $
.\"
.Dd June 29, 1991
.Dt STRCMP 3
@@ -49,7 +49,7 @@ The
.Fn strcmp
and
.Fn strncmp
-functions lexicographically compare the null-terminated strings
+functions lexicographically compare the NUL-terminated strings
.Fa s1
and
.Fa s2 .