diff options
| author | Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org> | 2001-09-26 20:22:44 +0000 |
|---|---|---|
| committer | Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org> | 2001-09-26 20:22:44 +0000 |
| commit | 54045486e05af73484999a183afaf1d9e0d6358f (patch) | |
| tree | 954598543fb837896ef506ce2aae44333e2efc99 /lib/libc | |
| parent | 41c42188c81e1dabe6fbf3afb061cf0968414f30 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/stdlib/atoi.3 | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/lib/libc/stdlib/atoi.3 b/lib/libc/stdlib/atoi.3 index f8a2cc1864cf..7061ecd7b2de 100644 --- a/lib/libc/stdlib/atoi.3 +++ b/lib/libc/stdlib/atoi.3 @@ -63,6 +63,20 @@ It is equivalent to: .Bd -literal -offset indent (int)strtol(nptr, (char **)NULL, 10); .Ed +.Sh IMPLEMENTATION NOTES +The +.Fn atoi +function is not thread-safe and also not async-cancel safe. +.Pp +The +.Fn atof +function has been deprecated by +.Fn strtol +and should not be used in new code. +.Sh ERRORS +The +.Fn atoi +function does not detect errors. .Sh SEE ALSO .Xr atof 3 , .Xr atol 3 , @@ -73,4 +87,7 @@ It is equivalent to: The .Fn atoi function conforms to -.St -isoC . +.St -p1003.1-90 , +.St -isoC , +and +.St -isoC-99 . |
