From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Date: Mon, 11 Mar 2013 15:09:07 -0700 From: Bakul Shah Message-Id: <20130311220907.46195B82A@mail.bitblocks.com> Subject: [9fans] atol() bug Topicbox-Message-UUID: 274e31c8-ead8-11e9-9d60-3106f5b1d025 The atol() manpage says: Atoi and atol recognize an optional string of tabs and spaces, then an optional sign, then a string of decimal dig- its. And yet atol(x) acts exactly like strol(x, nil, 0). This makes it unnecessarily incompatible with the unix version. Ditto for atoll(). My preference would be to fix the code and not the man page.