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:29:50 2012 from 38.107.179.230
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Assert en anglais

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


assert - abort the program if assertion is false
 
SYNOPSIS


#include void assert(scalar expression);
 
DESCRIPTION


If the macro NDEBUG was defined at the moment was last included, the macro assert() generates no code, and hence does nothing at all. Otherwise, the macro assert() prints an error message to stan- dard error and terminates the program by calling abort(3) if expression is false (i.e., compares equal to zero). The purpose of this macro is to help the programmer find bugs in his program. The message "assertion failed in file foo.c, function do_bar(), line 1287" is of no help at all to a user.
 
RETURN VALUE


No value is returned.
 
CONFORMING TO


POSIX.1-2001, C89, C99. In C89, expression is required to be of type int and undefined behavior results if it is not, but in C99 it may have any scalar type.
 
BUGS


assert() is implemented as a macro; if the expression tested has side- effects, program behavior will be different depending on whether NDEBUG is defined. This may create Heisenbugs which go away when debugging is turned on.
 
SEE ALSO


abort(3), assert_perror(3), exit(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 2002-08-25 ASSERT(3)


 Dernières recherches
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
Man  en anglais Man animate en anglaisMan  en français Man animate 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