Man page - xdf_get_event(3)
Packages contains this manual
- xdf_get_event(3)
- xdf_set_conf(3)
- xdf_close(3)
- xdf_read(3)
- xdf_get_evttype(3)
- xdf_seek(3)
- xdf_get_channel(3)
- xdf_closest_type(3)
- xdf_define_arrays(3)
- xdf_add_evttype(3)
- xdf_write(3)
- xdf_copy_conf(3)
- xdf_add_channel(3)
- xdf_set_chconf(3)
- xdf_prepare_transfer(3)
- xdf_copy_chconf(3)
- xdf_get_chconf(3)
- xdf_get_conf(3)
- xdf_open(3)
- xdf_add_event(3)
apt-get install libxdffileio-dev
Manual
XDF_GET_EVENT
NAMESYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
SEE ALSO
NAME
xdf_get_event - Get details of an event of a data file
SYNOPSIS
#include <xdfio.h>
int
xdf_get_event(struct xdf*
xdf
, unsigned
int
index
,
int*
evttype
, double*
onset
,
double*
dur
);
DESCRIPTION
xdf_get_event () returns the information of the index -th event of the file referenced by the handle xdf . The event type, start (in seconds) and duration (in seconds) of the event are returned respectively to the pointers evttype , onset and dur .
RETURN VALUE
xdf_get_event () returns 0 in case of success. Otherwise -1 is returned and errno is set appropriately.
ERRORS
|
EINVAL |
xdf , evttype , onset or dur is NULL. |
|||
|
ERANGE |
index is bigger than the number event in the file. |
SEE ALSO
xdf_add_evttype (3)