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: Wed May 30 11:17:38 2012 from 38.107.179.229
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Sigsetjmp en anglais

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


setjmp, sigsetjmp - save stack context for non-local goto
 
SYNOPSIS


#include int setjmp(jmp_buf env); int sigsetjmp(sigjmp_buf env, int savesigs); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): sigsetjmp(): _POSIX_C_SOURCE || _XOPEN_SOURCE
 
DESCRIPTION


setjmp() and longjmp(3) are useful for dealing with errors and inter- rupts encountered in a low-level subroutine of a program. setjmp() saves the stack context/environment in env for later use by longjmp(3). The stack context will be invalidated if the function which called setjmp() returns. sigsetjmp() is similar to setjmp(). If savesigs is non-zero, the set of blocked signals is saved in env and will be restored if a sig- longjmp(3) is later performed with this env.
 
RETURN VALUE


setjmp() and sigsetjmp() return 0 if returning directly, and non-zero when returning from longjmp(3) using the saved context.
 
CONFORMING TO


C89, C99, and POSIX.1-2001 specify setjmp(). POSIX.1-2001 specifies sigsetjmp().
 
NOTES


POSIX does not specify whether setjmp() will save the signal context. (In System V it will not. In 4.3BSD it will, and there is a function _setjmp that will not.) If you want to save signal masks, use sigsetjmp(). setjmp() and sigsetjmp() make programs hard to understand and maintain. If possible an alternative should be used.
 
SEE ALSO


longjmp(3), siglongjmp(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/. 2007-07-26 SETJMP(3)


 Dernières recherches
Man  en anglais Man sigsetjmp en anglaisMan  en français Man sigsetjmp en français
Man  en anglais Man sigset en anglaisMan  en français Man sigset en français
Man  en anglais Man sigreturn en anglaisMan  en français Man sigreturn en français
Man  en anglais Man sigpause en anglaisMan  en français Man sigpause en français
Man  en anglais Man signalfd en anglaisMan  en français Man signalfd en français
Man  en anglais Man sigmask en anglaisMan  en français Man sigmask en français
Man  en anglais Man siglongjmp en anglaisMan  en français Man siglongjmp en français
Man  en anglais Man sigismember en anglaisMan  en français Man sigismember en français
Man  en anglais Man sigfillset en anglaisMan  en français Man sigfillset en français
Man  en anglais Man sigemptyset en anglaisMan  en français Man sigemptyset en français
Man  en anglais Man sigdelset en anglaisMan  en français Man sigdelset en français
Man  en anglais Man sigblock en anglaisMan  en français Man sigblock en français
Man  en anglais Man sigaddset en anglaisMan  en français Man sigaddset en français
Man  en anglais Man shred en anglaisMan  en français Man shred en français
Man  en anglais Man showq en anglaisMan  en français Man showq 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