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
xt_ff_flush(3) FreeBSD Library Functions Manual xt_ff_flush(3)

#include <xtend/fast-file.h>
-lxtend

int     xt_ff_flush(xt_ff_t *stream)

stream  Pointer to an xt_ff_t stream

xt_ff_flush(stream) writes any buffered output in stream to the underlying file descriptor. This normally happens when the buffer is full, the stream is closed using xt_ff_close(stream), or before a seek is performed on a stream opened for writing.

Return code of the underlying write(2) call -1 if stream is not open for writing

xt_ff_t *stream;
stream = xt_ff_open(filename, O_WRONLY|O_CREATE);
xt_ff_flush(stream);

xt_ff_open(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.