![]() |
![]()
| ![]() |
![]()
LIBRARY#include <xtend/fast-file.h> -lxtend SYNOPSISint xt_ff_set_child_pid(xt_ff_t *xt_ff_ptr, pid_t new_child_pid) ARGUMENTSxt_ff_ptr Pointer to the structure to set new_child_pid The new value for child_pid DESCRIPTIONMutator for child_pid member in a xt_ff_t structure. Use this function to set child_pid in a xt_ff_t object from non-member functions. This function performs a direct assignment for scalar or pointer structure members. If child_pid 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; pid_t new_child_pid; if ( xt_ff_set_child_pid(&xt_ffile, new_child_pid) SEE ALSO(3)
|