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 Feb 9 6:09:06 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 Clearenv en anglais

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


clearenv - clear the environment
 
SYNOPSIS


#include int clearenv(void); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): clearenv(): _SVID_SOURCE || _XOPEN_SOURCE
 
DESCRIPTION


The clearenv() function clears the environment of all name-value pairs and sets the value of the external variable environ to NULL.
 
RETURN VALUE


The clearenv() function returns zero on success, and a non-zero value on failure.
 
VERSIONS


Not in libc4, libc5. In glibc since glibc 2.0.
 
CONFORMING TO


Various Unix variants (DG/UX, HP-UX, QNX, ...). POSIX.9 (bindings for FORTRAN77). POSIX.1-1996 did not accept clearenv() and putenv(3), but changed its mind and scheduled these functions for some later issue of this standard (cf. B.4.6.1). However, POSIX.1-2001 only adds putenv(3), and rejected clearenv().
 
NOTES


Used in security-conscious applications. If it is unavailable the assignment environ = NULL; will probably do. The DG/UX and Tru64 man pages write: If environ has been modified by anything other than the putenv(3), getenv(3), or clearenv() functions, then clearenv() will return an error and the process environment will remain unchanged.
 
SEE ALSO


getenv(3), putenv(3), setenv(3), unsetenv(3), environ(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/. Linux 2007-07-26 CLEARENV(3)


 Dernières recherches
Man  en anglais Man clearenv en anglaisMan  en français Man clearenv en français
Man  en anglais Man agetty en anglaisMan  en français Man agetty en français
Man  en anglais Man afs_syscall en anglaisMan  en français Man afs_syscall en français
Man  en anglais Man adjtimex en anglaisMan  en français Man adjtimex en français
Man  en anglais Man adjtime en anglaisMan  en français Man adjtime en français
Man  en anglais Man adduser en anglaisMan  en français Man adduser en français
Man  en anglais Man addseverity en anglaisMan  en français Man addseverity en français
Man  en anglais Man addgroup en anglaisMan  en français Man addgroup en français
Man  en anglais Man acos en anglaisMan  en français Man acos en français
Man  en anglais Man acct en anglaisMan  en français Man acct en français
Man  en anglais Man access en anglaisMan  en français Man access en français
Man  en anglais Man accept en anglaisMan  en français Man accept en français
Man  en anglais Man abs en anglaisMan  en français Man abs en français
Man  en anglais Man abort en anglaisMan  en français Man abort en français
Man  en anglais Man swapoff en anglaisMan  en français Man swapoff 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