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: Thu May 24 21:31:07 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 Assert_perror en anglais

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


assert_perror - test errnum and abort
 
SYNOPSIS


#define _GNU_SOURCE #include void assert_perror(int errnum);
 
DESCRIPTION


If the macro NDEBUG was defined at the moment was last included, the macro assert_perror() generates no code, and hence does nothing at all. Otherwise, the macro assert_perror() prints an error message to standard error and terminates the program by calling abort(3) if errnum is non-zero. The message contains the filename, function name and line number of the macro call, and the output of str- error(errnum).
 
RETURN VALUE


No value is returned.
 
CONFORMING TO


This is a GNU extension.
 
BUGS


The purpose of the assert macros is to help the programmer find bugs in his program, things that cannot happen unless there was a coding mis- take. However, with system or library calls the situation is rather different, and error returns can happen, and will happen, and should be tested for. Not by an assert, where the test goes away when NDEBUG is defined, but by proper error handling code. Never use this macro.
 
SEE ALSO


abort(3), assert(3), exit(3), strerror(3), feature_test_macros(7)
 
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 2002-08-25 ASSERT_PERROR(3)


 Dernières recherches
Man  en anglais Man assert_perror en anglaisMan  en français Man assert_perror en français
Man  en anglais Man assert en anglaisMan  en français Man assert en français
Man  en anglais Man asin en anglaisMan  en français Man asin en français
Man  en anglais Man asctime en anglaisMan  en français Man asctime en français
Man  en anglais Man as en anglaisMan  en français Man as en français
Man  en anglais Man tr en anglaisMan  en français Man tr en français
Man  en anglais Man symlinkat en anglaisMan  en français Man symlinkat en français
Man  en anglais Man aptitude en anglaisMan  en français Man aptitude en français
Man  en anglais Man apt_preferences en anglaisMan  en français Man apt_preferences en français
Man  en anglais Man wait en anglaisMan  en français Man wait en français
Man  en anglais Man apt en anglaisMan  en français Man apt en français
Man  en anglais Man slabtop en anglaisMan  en français Man slabtop en français
Man  en anglais Man difftime en anglaisMan  en français Man difftime en français
Man  en anglais Man nice en anglaisMan  en français Man nice en français
Man  en anglais Man mq_open en anglaisMan  en français Man mq_open 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