Jump to content

atol (programming)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Deryck Chan (talk | contribs) at 08:17, 9 February 2006 (atol function creation from redlink). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)


The atol function in C programming language and C++ converts a string of a numerical representation into a long integer.

It is not specified in ANSI C nor ANSI C++, but is supported by many compilers such as GCC.