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: Mon May 28 15:46:24 2012 from 38.107.179.226
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Fclose en anglais

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


fclose - close a stream
 
SYNOPSIS


#include int fclose(FILE *fp);
 
DESCRIPTION


The fclose() function will flush the stream pointed to by fp (writing any buffered output data using fflush(3)) and close the underlying file descriptor. The behaviour of fclose() is undefined if the stream parameter is an illegal pointer, or is a descriptor already passed to a previous invo- cation of fclose().
 
RETURN VALUE


Upon successful completion 0 is returned. Otherwise, EOF is returned and the global variable errno is set to indicate the error. In either case any further access (including another call to fclose()) to the stream results in undefined behavior.
 
ERRORS


EBADF The file descriptor underlying fp is not valid. The fclose() function may also fail and set errno for any of the errors specified for the routines close(2), write(2) or fflush(3).
 
CONFORMING TO


C89, C99.
 
NOTES


Note that fclose() only flushes the user space buffers provided by the C library. To ensure that the data is physically stored on disk the kernel buffers must be flushed too, for example, with sync(2) or fsync(2).
 
SEE ALSO


close(2), fcloseall(3), fflush(3), fopen(3), setbuf(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 1993-11-29 FCLOSE(3)


 Dernières recherches
Man  en anglais Man fclose en anglaisMan  en français Man fclose en français
Man  en anglais Man fchownat en anglaisMan  en français Man fchownat en français
Man  en anglais Man fchdir en anglaisMan  en français Man fchdir en français
Man  en anglais Man fchown en anglaisMan  en français Man fchown en français
Man  en anglais Man false en anglaisMan  en français Man false en français
Man  en anglais Man fchmodat en anglaisMan  en français Man fchmodat en français
Man  en anglais Man fallocate en anglaisMan  en français Man fallocate en français
Man  en anglais Man fchmod en anglaisMan  en français Man fchmod en français
Man  en anglais Man faccessat en anglaisMan  en français Man faccessat en français
Man  en anglais Man fabs en anglaisMan  en français Man fabs en français
Man  en anglais Man export en anglaisMan  en français Man export en français
Man  en anglais Man expand en anglaisMan  en français Man expand en français
Man  en anglais Man exp en anglaisMan  en français Man exp en français
Man  en anglais Man exit_group en anglaisMan  en français Man exit_group en français
Man  en anglais Man execvp en anglaisMan  en français Man execvp 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