readclose(3) debian man page | unix.com

Man Page: readclose

Operating Environment: debian

Section: 3

readclose(3)						     Library Functions Manual						      readclose(3)

NAME
readclose - read a whole file into a stralloc
SYNTAX
#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) readclose(3)
Related Man Pages
getzoneid(3c) - opensolaris
stralloc(3) - debian
getzoneid(3c) - mojave
getzoneid(3c) - linux
getzoneid(3c) - x11r4
Similar Topics in the Unix Linux Community
Expermenting with Some Images in Amazon S3