libmawk_set_cell - set the value of a mawk cell.
Contents
Description
The libmawk_set_cell() function modifies the value of a mawk cell (variable). Argumetn argtype is a
format character that describes the type of the payload (accessed trough vararg).
The libmawk_set_cellp() function performs the same action but accepts a generic pointer to the payload.
Formatcharacter is one of the followings:
'd' for int payload
'f' for double payload
's' for (zero terminated) char * payload.
Name
libmawk_set_cell - set the value of a mawk cell.
Return Value
A pointer to the cell modified.
See Also
libmawk_initialize_stage(3libmawk), libmawk_initialize(3libmawk), libmawk_get_var(3libmawk). libmawk 2009-08-10 LIBMAWK_SET_CELL(3libmawk)
Synopsis
#include<libmawk.h>CELL*libmawk_set_cell(mawk_state_t*m,CELL*cell,constcharargtype,...);CELL*libmawk_set_cellp(mawk_state_t*m,CELL*cell,constcharargtype,void*argp);
