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

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

int     xt_ff_set_bytes_read(xt_ff_t *xt_ff_ptr, ssize_t new_bytes_read)

xt_ff_ptr    Pointer to the structure to set
new_bytes_read  The new value for bytes_read

Mutator for bytes_read member in a xt_ff_t structure. Use this function to set bytes_read in a xt_ff_t object from non-member functions. This function performs a direct assignment for scalar or pointer structure members. If bytes_read is a pointer, data previously pointed to should be freed before calling this function to avoid memory leaks.

EXTEND_DATA_OK if the new value is acceptable and assigned EXTEND_DATA_OUT_OF_RANGE otherwise

xt_ff_t      xt_ffile;
ssize_t         new_bytes_read;
if ( xt_ff_set_bytes_read(&xt_ffile, new_bytes_read)

== EXTEND_DATA_OK ) { }

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