aboutsummaryrefslogtreecommitdiffstats
path: root/man3/strstr.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2011-09-28 06:16:17 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2011-09-28 06:20:52 +0200
commit71d9e7ae77e74475825e2850c1daef779b51f978 (patch)
treefd4ac0cd38c5852ddb8aaa7beaccbbb1b53f34fc /man3/strstr.3
parente9c23bc636426366d659809bc99cd84661e86464 (diff)
downloadman-pages-71d9e7ae77e74475825e2850c1daef779b51f978.tar.gz
gets.3, mbtowc.3, printf.3, puts.3, scanf.3, stpcpy.3, stpncpy.3, strcat.3, strlen.3, strnlen.3, strsep.3, strstr.3, strxfrm.3, utmp.5: Global fix: consistent use of "null byte"
Bring more consistency to the discussion of "[terminating] null byte" by writing (at least in the initial use in a page) "[terminating] null byte ('\0')". Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/strstr.3')
-rw-r--r--man3/strstr.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/strstr.3 b/man3/strstr.3
index 56ddc90b23..3aa9053b8c 100644
--- a/man3/strstr.3
+++ b/man3/strstr.3
@@ -28,7 +28,7 @@
.\" Added history, aeb, 980113.
.\" 2005-05-05 mtk: added strcasestr()
.\"
-.TH STRSTR 3 2010-09-20 "GNU" "Linux Programmer's Manual"
+.TH STRSTR 3 2011-09-28 "GNU" "Linux Programmer's Manual"
.SH NAME
strstr, strcasestr \- locate a substring
.SH SYNOPSIS
@@ -48,7 +48,7 @@ The
.BR strstr ()
function finds the first occurrence of the substring
\fIneedle\fP in the string \fIhaystack\fP.
-The terminating \(aq\\0\(aq characters are not compared.
+The terminating null bytes (\(aq\\0\(aq) are not compared.
The
.BR strcasestr ()