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:39:51 2012 from 38.107.179.228
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Pwrite en anglais

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


pread, pwrite - read from or write to a file descriptor at a given off- set
 
SYNOPSIS


#define _XOPEN_SOURCE 500 #include ssize_t pread(int fd, void *buf, size_t count, off_t offset); ssize_t pwrite(int fd, const void *buf, size_t count, off_t offset);
 
DESCRIPTION


pread() reads up to count bytes from file descriptor fd at offset off- set (from the start of the file) into the buffer starting at buf. The file offset is not changed. pwrite() writes up to count bytes from the buffer starting at buf to the file descriptor fd at offset offset. The file offset is not changed. The file referenced by fd must be capable of seeking.
 
RETURN VALUE


On success, the number of bytes read or written is returned (zero indi- cates that nothing was written, in the case of pwrite(), or end of file, in the case of pread(), or -1 on error, in which case errno is set to indicate the error.
 
ERRORS


pread() can fail and set errno to any error specified for read(2) or lseek(2). pwrite() can fail and set errno to any error specified for write(2) or lseek(2).
 
VERSIONS


The pread() and pwrite() system calls were added to Linux in version 2.1.60; the entries in the i386 system call table were added in 2.1.69. The libc support (including emulation on older kernels without the sys- tem calls) was added in glibc 2.1.
 
CONFORMING TO


POSIX.1-2001.
 
SEE ALSO


lseek(2), read(2), write(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/. Linux 1999-01-21 PREAD(2)


 Dernières recherches
Man  en anglais Man pwrite en anglaisMan  en français Man pwrite en français
Man  en anglais Man pwd en anglaisMan  en français Man pwd en français
Man  en anglais Man pwconv en anglaisMan  en français Man pwconv en français
Man  en anglais Man pwck en anglaisMan  en français Man pwck en français
Man  en anglais Man putwchar en anglaisMan  en français Man putwchar en français
Man  en anglais Man putwc en anglaisMan  en français Man putwc en français
Man  en anglais Man puts en anglaisMan  en français Man puts en français
Man  en anglais Man putpwent en anglaisMan  en français Man putpwent en français
Man  en anglais Man putpmsg en anglaisMan  en français Man putpmsg en français
Man  en anglais Man putchar en anglaisMan  en français Man putchar en français
Man  en anglais Man putc_unlocked en anglaisMan  en français Man putc_unlocked en français
Man  en anglais Man putc en anglaisMan  en français Man putc en français
Man  en anglais Man ptmx en anglaisMan  en français Man ptmx en français
Man  en anglais Man pthread_self en anglaisMan  en français Man pthread_self en français
Man  en anglais Man pthread_key_create en anglaisMan  en français Man pthread_key_create 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