aboutsummaryrefslogtreecommitdiffstats
path: root/man3/mbtowc.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/mbtowc.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/mbtowc.3')
-rw-r--r--man3/mbtowc.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/mbtowc.3 b/man3/mbtowc.3
index dd3f0ea273..1efb4ebce4 100644
--- a/man3/mbtowc.3
+++ b/man3/mbtowc.3
@@ -11,7 +11,7 @@
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
.\" ISO/IEC 9899:1999
.\"
-.TH MBTOWC 3 2001-07-04 "GNU" "Linux Programmer's Manual"
+.TH MBTOWC 3 2011-09-28 "GNU" "Linux Programmer's Manual"
.SH NAME
mbtowc \- convert a multibyte sequence to a wide character
.SH SYNOPSIS
@@ -32,7 +32,7 @@ multibyte character, converts it to a wide character and stores it at
\fI*pwc\fP.
It updates an internal shift state only known to the mbtowc
function.
-If \fIs\fP does not point to a \(aq\\0\(aq byte, it returns the number
+If \fIs\fP does not point to a null byte (\(aq\\0\(aq), it returns the number
of bytes that were consumed from \fIs\fP, otherwise it returns 0.
.PP
If the \fIn\fP bytes starting at \fIs\fP do not contain a complete multibyte