Query: xdf_add_event
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XDF_ADD_EVENT(3) xdffileio library manual XDF_ADD_EVENT(3)NAMExdf_add_event - Appends an event to the data fileSYNOPSIS#include <xdfio.h> int xdf_add_event(struct xdf* xdf, int evttype, double onset, double dur);DESCRIPTIONxdf_add_event() appends to the file referenced by the handle xdf opened for writing an event of type evttype at time onset lasting for a duration dur expressed in seconds. If the event has no notion of duration, dur should be set to 0. evttype should be a value returned by a successful call to xdf_add_evttype(3).RETURN VALUExdf_add_event() returns 0 in case of success. Otherwise -1 is returned and errno is set appropriately.ERRORSEINVAL xdf is NULL or evttype has not been previously created by xdf_add_evttype(3) 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_evttype(3)EPFL2010 XDF_ADD_EVENT(3)
Related Man Pages |
---|
datetime::duration(3) - mojave |
xdf_define_arrays(3) - debian |
xdf_get_conf(3) - debian |
xdf_prepare_transfer(3) - debian |
xdf_seek(3) - debian |
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Installing Dash Shell on OS X Lion |
Is UNIX an open source OS ? |
One instance of comparing grep and awk |
New UNIX and Linux History Sections |