Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
readclose(3)		   Library Functions Manual		  readclose(3)

NAME
       readclose - read	a whole	file into a stralloc

SYNTAX
       #include	<libowfat/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, read-
       close returns 0.	 On error, readclose returns -1	and sets errno	appro-
       priately.

SEE ALSO
       open_read(3), openreadclose(3), readclose_append(3)

								  readclose(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=libowfat_readclose&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help