TutorialsPoint
tutorialspoint.com › c_standard_library › c_function_atoi.htm
C library - atoi() function
The C stdlib library atoi() function is used to convert a numeric string into an integer value. An integer is a whole number that can be positive or negative, including zero. It can't be fraction, decimal, or percentage, For example, numbers like 1,
Linux Man Pages
man7.org › linux › man-pages › man3 › atoi.3.html
atoi(3) - Linux manual page
September 9, 2026 - atoi(3) Library Functions Manual atoi(3) atoi, atol, atoll - convert a string to an integer ·
cppreference.com
en.cppreference.com › c › string › byte › atoi
atoi, atol, atoll - cppreference.com
Interprets an integer value in a byte string pointed to by str. The implied radix is always 10 · Discards any whitespace characters until the first non-whitespace character is found, then takes as many characters as possible to form a valid integer number representation and converts them to ...
musl
git.musl-libc.org › cgit › musl › tree › src › stdlib › atoi.c
atoi.c\stdlib\src - musl - musl - an implementation of the standard library for Linux-based systems
path: root/src/stdlib/atoi.c · blob: 9baca7b895a0e2f5c3cfab1554f8dcdd280431b9 (plain) (blame) · generated by cgit v1.2.1 (git 2.18.0) at 2026-10-12 11:07:52 +0000
Authors: Peter PrinzTony Crawford
Published: 2005
Pages: 618
CS50
manual.cs50.io › 3 › atoi
atoi - CS50 Manual Pages
atoi, atol, atoll - convert a string to an integer · Standard C library (libc, -lc) #include <stdlib.h> int atoi(string s); #include <stdlib.h> int atoi(const char *nptr); long atol(const char *nptr); long long atoll(const char *nptr); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): atoll(): _ISOC99_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE ·
cppreference.com
en.cppreference.com › cpp › string › byte › atoi
std::atoi, std::atol, std::atoll - cppreference.com
Actual C++ library implementations fall back to C library implementations of atoi, atoil, and atoll, which either implement it directly (as in MUSL libc) or delegate to strtol/strtoll (as in GNU libc).
Microchip
onlinedocs.microchip.com › oxy › GUID-07E1F2AB-C1A0-411C-966F-8738802C42B9-en-US-4 › GUID-EE10E388-55AF-45CB-981E-2A7414F38FF2.html
6.19.10 atoi Function
Microchip Unified Standard Library Reference Guide · Converts a string to an integer. Include · <stdlib.h> Prototype · int atoi(const char *s); Argument · s · string to be converted · Return Value · Returns the converted integer if successful; otherwise, returns 0.
IBM
ibm.com › docs › fr › i › 7.6.0
atoi ()-Convertit une chaîne de caractères en entier
The page you requested cannot be displayed (HTTP response code 403)
IBM
ibm.com › docs › en › zos › 2.4.0
atoi() — Convert character string to integer
The page you requested cannot be displayed (HTTP response code 403)
Manpagez
manpagez.com › man › 3 › atoi
man page atoi section 3
Standard C Library (libc, -lc) #include <stdlib.h> int atoi(const char *str); #include <xlocale.h> int atoi_l(const char *str, locale_t loc); The atoi() function converts the initial portion of the string pointed to by str to int representation. It is equivalent to: (int)strtol(str, (char **)NULL, ...
AVR Freaks
avrfreaks.net › s › topic › a5C3l000000U62SEAS › t037012
use standard C function and library for IAR.
Loading · ×Sorry to interrupt · Refresh
Narkive
gcc-help.gcc.gnu.narkive.com › sAdocQgj › function-redefined
Function redefined
SSO - static shared object DSO - dynamic shared object You can list out your executable's SSO's using the ldd command. DSO's explicitly use the dlopen and manually match symbols up from the shared object library. You could use a DSO to access the atoi function in the library, even if you have an SSO or executable that has defined a different atoi function.
Arduino Forum
forum.arduino.cc › projects › programming
Serial Read, String, Convert ATOI - Programming - Arduino Forum
April 10, 2012 - Hey guys, I am not sure if this is a popular subject but I have tried looking through Google as "arduino read string from serial convert to integer" because my issue is having a number entered in the serial by a user and then having that character/string converted into an actual number.
Oracle
docs.oracle.com › cd › E86824_01 › html › E54766 › atoi-3c.html
atoi - man pages section 3: Basic Library Functions
Except for behavior on error, atoi() is equivalent to: (int) strtol(str, (char **)NULL, 10).