Man page - xdf_add_event(3)
Packages contas this manual
- xdf_seek(3)
- xdf_prepare_transfer(3)
- xdf_add_channel(3)
- xdf_copy_conf(3)
- xdf_open(3)
- xdf_get_evttype(3)
- xdf_get_chconf(3)
- xdf_closest_type(3)
- xdf_add_evttype(3)
- xdf_define_arrays(3)
- xdf_write(3)
- xdf_copy_chconf(3)
- xdf_get_event(3)
- xdf_set_chconf(3)
- xdf_get_conf(3)
- xdf_set_conf(3)
- xdf_read(3)
- xdf_add_event(3)
- xdf_get_channel(3)
- xdf_close(3)
Package: libxdffileio-dev
apt-get install libxdffileio-dev
apt-get install libxdffileio-dev
Manuals in package:
Documentations in package:
Manual
| XDF_ADD_EVENT(3) | xdffileio library manual | XDF_ADD_EVENT(3) |
NAME
xdf_add_event - Appends an event to the data file
SYNOPSIS
#include <xdfio.h>
int xdf_add_event(struct xdf* xdf, int
evttype,
double onset, double dur);
DESCRIPTION
xdf_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 VALUE
xdf_add_event() returns 0 in case of success. Otherwise -1 is returned and errno is set appropriately.
ERRORS
SEE ALSO
xdf_add_evttype(3)
| 2010 | EPFL |