logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

xdf_get_evttype - Get information about an event type

Description

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

Errors

EINVALxdf, code or desc is NULL.

       ERANGEevttype is an invalid event type of xdf

Name

       xdf_get_evttype - Get information about an event type

Return Value

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

See Also

xdf_get_event(3)

EPFL                                                  2010                                    XDF_GET_EVTTYPE(3)

Synopsis

#include<xdfio.h>intxdf_get_evttype(structxdf*xdf,unsignedintevttype,int*code,constchar**desc);

See Also