Commit 0e4e9e8f by Joseph Myers Committed by Joseph Myers

bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".

	* bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
	* strtod.c: Use "ISO C" instead of "ANSI C".
	* functions.texi: Regenerate.

From-SVN: r46136
parent df2a54e9
2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
* bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
* strtod.c: Use "ISO C" instead of "ANSI C".
* functions.texi: Regenerate.
2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk> 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
* alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c, * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
@deftypefn Supplemental int bcmp (char *@var{x}, char *@var{y}, int @var{count}) @deftypefn Supplemental int bcmp (char *@var{x}, char *@var{y}, int @var{count})
Compares the first @var{count} bytes of two areas of memory. Returns Compares the first @var{count} bytes of two areas of memory. Returns
zero if they are the same, non-zero otherwise. Returns zero if zero if they are the same, nonzero otherwise. Returns zero if
@var{count} is zero. A non-zero result only indicates a difference, @var{count} is zero. A nonzero result only indicates a difference,
it does not indicate any sorting order (say, by having a positive it does not indicate any sorting order (say, by having a positive
result mean @var{x} sorts before @var{y}). result mean @var{x} sorts before @var{y}).
......
...@@ -40,8 +40,8 @@ Behavior is undefined if the pathname ends in a directory separator. ...@@ -40,8 +40,8 @@ Behavior is undefined if the pathname ends in a directory separator.
@deftypefn Supplemental int bcmp (char *@var{x}, char *@var{y}, int @var{count}) @deftypefn Supplemental int bcmp (char *@var{x}, char *@var{y}, int @var{count})
Compares the first @var{count} bytes of two areas of memory. Returns Compares the first @var{count} bytes of two areas of memory. Returns
zero if they are the same, non-zero otherwise. Returns zero if zero if they are the same, nonzero otherwise. Returns zero if
@var{count} is zero. A non-zero result only indicates a difference, @var{count} is zero. A nonzero result only indicates a difference,
it does not indicate any sorting order (say, by having a positive it does not indicate any sorting order (say, by having a positive
result mean @var{x} sorts before @var{y}). result mean @var{x} sorts before @var{y}).
...@@ -234,7 +234,7 @@ deprecated in new programs in favor of @code{strrchr}. ...@@ -234,7 +234,7 @@ deprecated in new programs in favor of @code{strrchr}.
@code{setenv} adds @var{name} to the environment with value @code{setenv} adds @var{name} to the environment with value
@var{value}. If the name was already present in the environment, @var{value}. If the name was already present in the environment,
the new value will be stored only if @var{overwrite} is non-zero. the new value will be stored only if @var{overwrite} is nonzero.
The companion @code{unsetenv} function removes @var{name} from the The companion @code{unsetenv} function removes @var{name} from the
environment. This implementation is not safe for multithreaded code. environment. This implementation is not safe for multithreaded code.
...@@ -352,7 +352,7 @@ length, the function returns @var{string}. ...@@ -352,7 +352,7 @@ length, the function returns @var{string}.
@c strtod.c:27 @c strtod.c:27
@deftypefn Supplemental double strtod (const char *@var{string}, char **@var{endptr}) @deftypefn Supplemental double strtod (const char *@var{string}, char **@var{endptr})
This ANSI C function converts the initial portion of @var{string} to a This ISO C function converts the initial portion of @var{string} to a
@code{double}. If @var{endptr} is not @code{NULL}, a pointer to the @code{double}. If @var{endptr} is not @code{NULL}, a pointer to the
character after the last character used in the conversion is stored in character after the last character used in the conversion is stored in
the location referenced by @var{endptr}. If no conversion is the location referenced by @var{endptr}. If no conversion is
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
@code{setenv} adds @var{name} to the environment with value @code{setenv} adds @var{name} to the environment with value
@var{value}. If the name was already present in the environment, @var{value}. If the name was already present in the environment,
the new value will be stored only if @var{overwrite} is non-zero. the new value will be stored only if @var{overwrite} is nonzero.
The companion @code{unsetenv} function removes @var{name} from the The companion @code{unsetenv} function removes @var{name} from the
environment. This implementation is not safe for multithreaded code. environment. This implementation is not safe for multithreaded code.
......
...@@ -26,7 +26,7 @@ the executable file might be covered by the GNU General Public License. */ ...@@ -26,7 +26,7 @@ the executable file might be covered by the GNU General Public License. */
@deftypefn Supplemental double strtod (const char *@var{string}, char **@var{endptr}) @deftypefn Supplemental double strtod (const char *@var{string}, char **@var{endptr})
This ANSI C function converts the initial portion of @var{string} to a This ISO C function converts the initial portion of @var{string} to a
@code{double}. If @var{endptr} is not @code{NULL}, a pointer to the @code{double}. If @var{endptr} is not @code{NULL}, a pointer to the
character after the last character used in the conversion is stored in character after the last character used in the conversion is stored in
the location referenced by @var{endptr}. If no conversion is the location referenced by @var{endptr}. If no conversion is
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment