1 --- atol.3.orig 2010-02-08 16:26:10.000000000 -0800
2 +++ atol.3 2010-02-13 21:01:28.000000000 -0800
13 @@ -49,14 +50,19 @@ integer
17 -.Fn atol "const char *nptr"
18 +.Fn atol "const char *str"
20 -.Fn atoll "const char *nptr"
21 +.Fn atoll "const char *str"
24 +.Fn atol_l "const char *str" "locale_t loc"
26 +.Fn atoll_l "const char *str" "locale_t loc"
30 function converts the initial portion of the string pointed to by
36 @@ -64,12 +70,12 @@ representation.
40 -.Dl "strtol(nptr, (char **)NULL, 10);"
41 +.Dl "strtol(str, (char **)NULL, 10);"
45 function converts the initial portion of the string pointed to by
51 @@ -77,8 +83,28 @@ representation.
55 -.Dl "strtoll(nptr, (char **)NULL, 10);"
57 +.Dl "strtoll(str, (char **)NULL, 10);"
63 +functions use the current locale, the
67 +functions may be passed locales directly. See
69 +for more information.
70 +.Sh IMPLEMENTATION NOTES
77 +functions are thread-safe and async-cancel-safe.
81 implementations of the
82 @@ -121,7 +147,8 @@ on an error.