xdf_get_event(3) debian man page | unix.com

Man Page: xdf_get_event

Operating Environment: debian

Section: 3

XDF_GET_EVENT(3)					     xdffileio library manual						  XDF_GET_EVENT(3)

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)
EPFL
2010 XDF_GET_EVENT(3)
Related Man Pages
dtk_set_event_handler(3) - debian
xdf_add_channel(3) - debian
xdf_read(3) - debian
xdf_open(3) - debian
xdf_write(3) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Is UNIX an open source OS ?
Weird 'find' results
New UNIX and Linux History Sections
My first PERL incarnation... Audio Oscillograph