Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 50 lignes de commande et 1472 man disponibles
login as: root
root@213.186.33.18's password:
Last login: Sat Feb 11 11:37:44 2012 from 38.107.179.227
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Atoi en anglais

ATOI(3) Linux Programmer's Manual ATOI(3)
 
NAME


atoi, atol, atoll, atoq - convert a string to an integer
 
SYNOPSIS


#include int atoi(const char *nptr); long atol(const char *nptr); long long atoll(const char *nptr); long long atoq(const char *nptr); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): atoll(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE; or cc -std=c99
 
DESCRIPTION


The atoi() function converts the initial portion of the string pointed to by nptr to int. The behavior is the same as strtol(nptr, (char **) NULL, 10); except that atoi() does not detect errors. The atol() and atoll() functions behave the same as atoi(), except that they convert the initial portion of the string to their return type of long or long long. atoq() is an obsolete name for atoll().
 
RETURN VALUE


The converted value.
 
CONFORMING TO


SVr4, POSIX.1-2001, 4.3BSD, C99. C89 and POSIX.1-1996 include the functions atoi() and atol() only. atoq() is a GNU extension.
 
NOTES


The non-standard atoq() function is not present in libc 4.6.27 or glibc 2, but is present in libc5 and libc 4.7 (though only as an inline func- tion in until libc 5.4.44). The atoll() function is present in glibc 2 since version 2.0.2, but not in libc4 or libc5.
 
SEE ALSO


atof(3), strtod(3), strtol(3), strtoul(3)
 
COLOPHON


This page is part of release 3.05 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. GNU 2007-07-26 ATOI(3)


 Dernières recherches
Man  en anglais Man atoi en anglaisMan  en français Man atoi en français
Man  en anglais Man getc en anglaisMan  en français Man getc en français
Man  en anglais Man time en anglaisMan  en français Man time en français
Man  en anglais Man chvt en anglaisMan  en français Man chvt en français
Man  en anglais Man ftok en anglaisMan  en français Man ftok en français
Man  en anglais Man echo en anglaisMan  en français Man echo en français
Man  en anglais Man head en anglaisMan  en français Man head en français
Man  en anglais Man exit en anglaisMan  en français Man exit en français
Man  en anglais Man gcvt en anglaisMan  en français Man gcvt en français
Man  en anglais Man atol en anglaisMan  en français Man atol en français
Man  en anglais Man kill en anglaisMan  en français Man kill en français
Man  en anglais Man uucp en anglaisMan  en français Man uucp en français
Man  en anglais Man utmp en anglaisMan  en français Man utmp en français
Man  en anglais Man less en anglaisMan  en français Man less en français
Man  en anglais Man recv en anglaisMan  en français Man recv en français

 Recherche

Dans ce moteur de recherche, vous pouvez taper directement votre besoin, en une phrase normale, humaine.
Exemple : vous cherchez comment remplacer un mot par un autre dans tous les fichiers d'un certain dossier. Vous pouvez écrire "Comment remplacer un mot par un autre dans tous les fichiers d'un dossier". Le moteur vous ramenera les résultats en fonction de leur pertinence.
Vous pouvez bien sûr ne chercher qu'un seul mot-clé, par exemple "find".
 Toutes les lignes de code
Par popularité
Par fonction
Recherche avancée
 Les logiciels SHELL/SSH
Putty
Astuces Bash
Faire du SHELL avec PHP!
 La doc officielle
Les man Linux en français
Les man Linux en anglais
 Proposer vos bash
Partagez vos lignes!
 Les requêtes
Déposer une requête
Voir/répondre à une requête
 Quelques sites interessants
Bons sites pour apprendre
 Rechercher