summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strcmp.3
diff options
context:
space:
mode:
authorcloder <>2005-02-25 03:12:44 +0000
committercloder <>2005-02-25 03:12:44 +0000
commit67e61f91527f9a7cd6b9a16b0cd90dd56607d505 (patch)
treed9de936ffc7fa9289c7b7f61b1db414900ba94fa /src/lib/libc/string/strcmp.3
parent52fef3b7d084fa9e2d0ac9187917b0ede8d9d58d (diff)
downloadopenbsd-67e61f91527f9a7cd6b9a16b0cd90dd56607d505.tar.gz
openbsd-67e61f91527f9a7cd6b9a16b0cd90dd56607d505.tar.bz2
openbsd-67e61f91527f9a7cd6b9a16b0cd90dd56607d505.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 '')
-rw-r--r--src/lib/libc/string/strcmp.34
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/string/strcmp.3 b/src/lib/libc/string/strcmp.3
index d025b9cf7c..953181e8de 100644
--- a/src/lib/libc/string/strcmp.3
+++ b/src/lib/libc/string/strcmp.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: strcmp.3,v 1.7 2003/06/02 20:18:38 millert Exp $ 32.\" $OpenBSD: strcmp.3,v 1.8 2005/02/25 03:12:44 cloder Exp $
33.\" 33.\"
34.Dd June 29, 1991 34.Dd June 29, 1991
35.Dt STRCMP 3 35.Dt STRCMP 3
@@ -49,7 +49,7 @@ The
49.Fn strcmp 49.Fn strcmp
50and 50and
51.Fn strncmp 51.Fn strncmp
52functions lexicographically compare the null-terminated strings 52functions lexicographically compare the NUL-terminated strings
53.Fa s1 53.Fa s1
54and 54and
55.Fa s2 . 55.Fa s2 .