1XDF_GET_EVTTYPE(3)         xdffileio library manual         XDF_GET_EVTTYPE(3)
2
3
4

NAME

6       xdf_get_evttype - Get information about an event type
7

SYNOPSIS

9       #include <xdfio.h>
10
11       int xdf_get_evttype(struct xdf* xdf, unsigned int evttype,
12                           int* code, const char** desc);
13

DESCRIPTION

15       xdf_get_evttype()  returns the information of the event type evttype of
16       the XDF file referenced by xdf. The code and  the  description  of  the
17       event type are returned respectively in the pointers code and desc.
18

RETURN VALUE

20       The function returns 0 in case of success. Otherwise -1 is returned and
21       errno is set appropriately.
22

ERRORS

24       EINVAL xdf, code or desc is NULL.
25
26       ERANGE evttype is an invalid event type of xdf
27

SEE ALSO

29       xdf_get_event(3)
30
31
32
33
34
35
36EPFL                                 2010                   XDF_GET_EVTTYPE(3)
Impressum