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 4:33:49 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 Posix_fallocate en anglais

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


posix_fallocate - allocate file space
 
SYNOPSIS


#define _XOPEN_SOURCE 600 #include int posix_fallocate(int fd, off_t offset, off_t len);
 
DESCRIPTION


The function posix_fallocate() ensures that disk space is allocated for the file referred to by the descriptor fd for the bytes in the range starting at offset and continuing for len bytes. After a successful call to posix_fallocate(), subsequent writes to bytes in the specified range are guaranteed not to fail because of lack of disk space. If the size of the file is less than offset+len, then the file is increased to this size; otherwise the file size is left unchanged.
 
RETURN VALUE


posix_fallocate() returns zero on success, or an error number on fail- ure. Note that errno is not set.
 
ERRORS


EBADF fd is not a valid file descriptor, or is not opened for writing. EFBIG offset+len exceeds the maximum file size. EINVAL offset or len was less than 0. ENODEV fd does not refer to a regular file. ENOSPC There is not enough space left on the device containing the file referred to by fd. ESPIPE fd refers to a pipe of file descriptor.
 
VERSIONS


posix_fallocate() is available since glibc 2.1.94.
 
CONFORMING TO


POSIX.1-2001.
 
SEE ALSO


fallocate(2), lseek(2), posix_fadvise(2), 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 2008-03-03 POSIX_FALLOCATE(3)


 Dernières recherches
Man  en anglais Man posix_fallocate en anglaisMan  en français Man posix_fallocate en français
Man  en anglais Man posix_fadvise en anglaisMan  en français Man posix_fadvise en français
Man  en anglais Man port en anglaisMan  en français Man port en français
Man  en anglais Man timer_gettime en anglaisMan  en français Man timer_gettime en français
Man  en anglais Man popen en anglaisMan  en français Man popen en français
Man  en anglais Man pkill en anglaisMan  en français Man pkill en français
Man  en anglais Man pivot_root en anglaisMan  en français Man pivot_root en français
Man  en anglais Man ping en anglaisMan  en français Man ping en français
Man  en anglais Man strcmp en anglaisMan  en français Man strcmp en français
Man  en anglais Man pidof en anglaisMan  en français Man pidof en français
Man  en anglais Man pg en anglaisMan  en français Man pg en français
Man  en anglais Man pfifo_fast en anglaisMan  en français Man pfifo_fast en français
Man  en anglais Man pfifo en anglaisMan  en français Man pfifo en français
Man  en anglais Man personality en anglaisMan  en français Man personality en français
Man  en anglais Man perl en anglaisMan  en français Man perl 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