GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
readclose(3) FreeBSD Library Functions Manual readclose(3)

readclose - read a whole file into a stralloc

#include <libowfat/readclose.h>

int readclose(int fd,stralloc* sa,size_t bufsize);

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.

open_read(3), openreadclose(3), readclose_append(3)

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.