Query: xdf_add_evttype
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XDF_ADD_EVTTYPE(3) xdffileio library manual XDF_ADD_EVTTYPE(3)NAMExdf_add_evttype - Adds a type of eventSYNOPSIS#include <xdfio.h> int xdf_add_evttype(struct xdf* xdf, int code, const char* desc);DESCRIPTIONxdf_add_evttype() adds an event type specified by combination of code and the event description desc to the file referenced by the handle xdf opened for writing. If there is no description associated with the event type, desc should be set to NULL. If an event type with the same combination has been already added, no new type will be added and the previous type will be returned.RETURN VALUEThe function returns the event type in case of success. Otherwise -1 is returned and errno is set appropriately.ERRORSEINVAL xdf is NULL ENOMEM The system is unable to allocate resources. EPERM The file referenced by xdf has not been opened for writing or its file format does not support events.SEE ALSOxdf_add_event(3)EPFL2010 XDF_ADD_EVTTYPE(3)
Related Man Pages |
---|
dtk_process_events(3) - debian |
xdf_read(3) - debian |
xdf_prepare_transfer(3) - debian |
xdf_set_conf(3) - debian |
pfm_get_pmu_info(3) - centos |
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Installing Dash Shell on OS X Lion |
awk or sed - Convert 2 lines to 1 line |
One instance of comparing grep and awk |