diff options
Diffstat (limited to 'man3/scanf.3')
| -rw-r--r-- | man3/scanf.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/man3/scanf.3 b/man3/scanf.3 index 113bcffe56..5166056d71 100644 --- a/man3/scanf.3 +++ b/man3/scanf.3 @@ -47,7 +47,7 @@ .\" Add ERRORS section. .\" Document the 'a' and 'm' modifiers for dynamic string allocation. .\" -.TH SCANF 3 2010-09-20 "GNU" "Linux Programmer's Manual" +.TH SCANF 3 2011-09-28 "GNU" "Linux Programmer's Manual" .SH NAME scanf, fscanf, sscanf, vscanf, vsscanf, vfscanf \- input format conversion .SH SYNOPSIS @@ -223,7 +223,7 @@ when a nonmatching character is found, whichever happens first. Most conversions discard initial white space characters (the exceptions are noted below), and these discarded characters don't count toward the maximum field width. -String input conversions store a null terminator (\(aq\\0\(aq) +String input conversions store a terminating null byte (\(aq\\0\(aq) to mark the end of the input; the maximum field width does not include this terminator. .TP @@ -449,8 +449,8 @@ Equivalent to .B s Matches a sequence of non-white-space characters; the next pointer must be a pointer to character array that is -long enough to hold the input sequence and the terminating null -character (\(aq\\0\(aq), which is added automatically. +long enough to hold the input sequence and +the terminating null byte (\(aq\\0\(aq), which is added automatically. The input string stops at white space or at the maximum field width, whichever occurs first. .TP |
