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 7:34:09 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 Readahead en anglais

READAHEAD(2) Linux Programmer's Manual READAHEAD(2)
 
NAME


readahead - perform file readahead into page cache
 
SYNOPSIS


#define _GNU_SOURCE #include ssize_t readahead(int fd, off64_t offset, size_t count);
 
DESCRIPTION


readahead() populates the page cache with data from a file so that sub- sequent reads from that file will not block on disk I/O. The fd argu- ment is a file descriptor identifying the file which is to be read. The offset argument specifies the starting point from which data is to be read and count specifies the number of bytes to be read. I/O is performed in whole pages, so that offset is effectively rounded down to a page boundary and bytes are read up to the next page boundary greater than or equal to (offset+count). readahead() does not read beyond the end of the file. readahead() blocks until the specified data has been read. The current file offset of the open file referred to by fd is left unchanged.
 
RETURN VALUE


On success, readahead() returns 0; on failure, -1 is returned, with errno set to indicate the cause of the error.
 
ERRORS


EBADF fd is not a valid file descriptor or is not open for reading. EINVAL fd does not refer to a file type to which readahead() can be applied.
 
VERSIONS


The readahead() system call appeared in Linux 2.4.13; glibc support has been provided since version 2.3.
 
CONFORMING TO


The readahead() system call is Linux-specific, and its use should be avoided in portable applications.
 
SEE ALSO


lseek(2), madvise(2), mmap(2), posix_fadvise(2), read(2)
 
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 READAHEAD(2)


 Dernières recherches
Man  en anglais Man readahead en anglaisMan  en français Man readahead en français
Man  en anglais Man re_format en anglaisMan  en français Man re_format en français
Man  en anglais Man rcs en anglaisMan  en français Man rcs en français
Man  en anglais Man rcp en anglaisMan  en français Man rcp en français
Man  en anglais Man rcmd en anglaisMan  en français Man rcmd en français
Man  en anglais Man rawmemchr en anglaisMan  en français Man rawmemchr en français
Man  en anglais Man raw en anglaisMan  en français Man raw en français
Man  en anglais Man ranlib en anglaisMan  en français Man ranlib en français
Man  en anglais Man random_r en anglaisMan  en français Man random_r en français
Man  en anglais Man rand_r en anglaisMan  en français Man rand_r en français
Man  en anglais Man queue en anglaisMan  en français Man queue en français
Man  en anglais Man dh_lintian en anglaisMan  en français Man dh_lintian en français
Man  en anglais Man gunzip en anglaisMan  en français Man gunzip en français
Man  en anglais Man sd en anglaisMan  en français Man sd en français
Man  en anglais Man addgroup en anglaisMan  en français Man addgroup 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