![]() |
![]()
| ![]() |
![]()
LIBRARY#include <xtend/fast-file.h> -lxtend SYNOPSISint xt_ff_set_disk_block_size(xt_ff_t *xt_ff_ptr, ssize_t new_disk_block_size) ARGUMENTSxt_ff_ptr Pointer to the structure to set new_disk_block_size The new value for disk_block_size DESCRIPTIONMutator for disk_block_size member in a xt_ff_t structure. Use this function to set disk_block_size in a xt_ff_t object from non-member functions. This function performs a direct assignment for scalar or pointer structure members. If disk_block_size is a pointer, data previously pointed to should be freed before calling this function to avoid memory leaks. RETURN VALUESEXTEND_DATA_OK if the new value is acceptable and assigned EXTEND_DATA_OUT_OF_RANGE otherwise EXAMPLESxt_ff_t xt_ffile; ssize_t new_disk_block_size; if ( xt_ff_set_disk_block_size(&xt_ffile, new_disk_block_size) SEE ALSO(3)
|