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

FreeBSD Manual Pages

  
 
  

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

NAME
       readclose_append	- read a whole file into a stralloc

SYNTAX
       #include	<readclose.h>

       ssize_t readclose_append(int fd,stralloc* sa,
			    size_t bufsize);

DESCRIPTION
       readclose_append	 reads the whole content into the stralloc sa, append-
       ing it to the existing content.	The file is read in chunks of  bufsize
       bytes size.  If everything worked fine, readclose_append	returns	0.  On
       error, readclose_append returns -1 and sets errno appropriately.

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

							   readclose_append(3)

NAME | SYNTAX | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=libowfat_readclose_append&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help