1 --- atoi.3.orig 2010-02-08 16:26:10.000000000 -0800
2 +++ atoi.3 2010-02-13 20:59:41.000000000 -0800
13 @@ -45,25 +46,46 @@ string to integer
17 -.Fn atoi "const char *nptr"
18 +.Fn atoi "const char *str"
21 +.Fn atoi_l "const char *str" "locale_t loc"
25 function converts the initial portion of the string pointed to by
33 .Bd -literal -offset indent
34 -(int)strtol(nptr, (char **)NULL, 10);
35 +(int)strtol(str, (char **)NULL, 10);
40 +function uses the current locale, the
42 +function may be passed a locale directly. See
44 +for more information.
45 +.Sh IMPLEMENTATION NOTES
50 +functions are thread-safe and async-cancel-safe.
54 -function has been deprecated by
57 +functions have been deprecated by
61 and should not be used in new code.
64 @@ -76,7 +98,8 @@ on an error.