Low Level IO

Nasza ocena:

3
Wyświetleń: 567
Komentarze: 0
Notatek.pl

Pobierz ten dokument za darmo

Podgląd dokumentu
Low Level IO - strona 1

Fragment notatki:

Low Level I/O - Read and Write int n_read = read(int fd, char *buf, int n); int n_written = write(int fd, char *buf, int n);  Each call returns a count of the number of bytes transferred  On reading, the number of bytes returned may be less than the number requested  A return value of zero bytes implies end of file, and -1 indicates an error of some sort  For writing, the return value is the number of bytes written; an error has occurred if this isn't equal to the number requested ... zobacz całą notatkę



Komentarze użytkowników (0)

Zaloguj się, aby dodać komentarz