Rechercher une page de manuel
readclose.3diet
Langue: en
Version: 289537 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
readclose - read a whole file into a strallocSYNTAX
#include <readclose.h>int readclose(int fd,stralloc* sa,size_t bufsize);
DESCRIPTION
readclose reads the whole content into the stralloc sa. The file is read in chunks of bufsize bytes size. If everything worked fine, readclose returns 0. On error, readclose returns -1 and sets errno appropriately.SEE ALSO
open_read(3), openreadclose(3), readclose_append(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre