1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-12 02:37:31 +03:00

Remove comment on errno=0 lines, but add mention to port/strtol.c function.

This commit is contained in:
Bruce Momjian
2005-12-02 02:49:11 +00:00
parent de1dfc1209
commit cf17131767
4 changed files with 35 additions and 26 deletions

View File

@@ -44,6 +44,15 @@ static char sccsid[] = "@(#)strtol.c 5.4 (Berkeley) 2/23/91";
#define const
/*
* Usage Tip:
*
* strtol() doesn't give a unique return value to indicate that errno
* should be consulted, so in most cases it is best to set errno = 0
* before calling this function, and then errno != 0 can be tested
* after the function completes.
*/
/*
* Convert a string to a long integer.
*