1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Doc fix.

This commit is contained in:
hniksic 2006-02-09 02:24:07 -08:00
parent db8a8bc235
commit 15f7e83216

View File

@ -1418,15 +1418,15 @@ numdigit (wgint number)
The speedup may make a difference in programs that frequently The speedup may make a difference in programs that frequently
convert numbers to strings. Some implementations of sprintf, convert numbers to strings. Some implementations of sprintf,
particularly the one in GNU libc, have been known to be extremely particularly the one in some versions of GNU libc, have been known
slow when converting integers to strings. to be quite slow when converting integers to strings.
Return the pointer to the location where the terminating zero was Return the pointer to the location where the terminating zero was
printed. (Equivalent to calling buffer+strlen(buffer) after the printed. (Equivalent to calling buffer+strlen(buffer) after the
function is done.) function is done.)
BUFFER should be big enough to accept as many bytes as you expect BUFFER should be large enough to accept as many bytes as you expect
the number to take up. On machines with 64-bit longs the maximum the number to take up. On machines with 64-bit wgints the maximum
needed size is 24 bytes. That includes the digits needed for the needed size is 24 bytes. That includes the digits needed for the
largest 64-bit number, the `-' sign in case it's negative, and the largest 64-bit number, the `-' sign in case it's negative, and the
terminating '\0'. */ terminating '\0'. */