summaryrefslogtreecommitdiff
path: root/sys/man
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-08-03 18:10:53 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-08-03 18:10:53 +0200
commitd457a43461852636db313c4854590b2c62a21e23 (patch)
tree14df482e9e64f59872558aa6e7ce7bd076112fae /sys/man
parent25139465363b2230b69789013e3e0b5f82d76564 (diff)
libc: make atoi() not parse c-style octal and hex numbers
interpreting octal breaks parsing of decimal numbers with leading zeros. the manpage listed this in the BUGS section, so we'r going to fix it as this just causes confusion as most callers of atoi() do not expect it.
Diffstat (limited to 'sys/man')
-rw-r--r--sys/man/2/atof7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/man/2/atof b/sys/man/2/atof
index cf7a88fde..885aade28 100644
--- a/sys/man/2/atof
+++ b/sys/man/2/atof
@@ -135,10 +135,3 @@ Zero is returned if the beginning of the input string is not
interpretable as a number; even in this case,
.I rptr
will be updated.
-.SH BUGS
-.I Atoi,
-.I atol,
-and
-.I atoll
-accept octal and hexadecimal numbers in the style of C,
-contrary to the ANSI specification.