XDF_GET_EVTTYPE(3)
β¨ XDF_GET_EVTTYPE(3) β¨
okay bestie so this page lives in the xdffileio library manual, and we're about to get so informed about event types π
πΈ NAME πΈ
xdf_get_evttype β spill the tea on an event type, basically. it gets you info about one π«Ά
π SYNOPSIS π
#include <xdfio.h>
int xdf_get_evttype(struct xdf* xdf, unsigned int evttype,
int* code, const char** desc);
π DESCRIPTION π
so xdf_get_evttype() returns the information of the event type evttype of the XDF file referenced by xdf. that's the vibe, that's the whole job πββοΈ
the code and the description of the event type come back to you through the pointers code and desc, respectively. like, it hands them over, you just gotta give it somewhere to put them π
π₯ RETURN VALUE π₯
the function returns 0 in case of success. otherwise -1 is returned and errno is set appropriately. no cap, that's it β¨
π ERRORS π
EINVALβxdf,codeordescisNULL. bestie you gotta actually pass something in πERANGEβevttypeis an invalid event type ofxdf. that event type is not giving, it does not exist π
π SEE ALSO π
xdf_get_event(3) β go read that one too, iykyk π¦
and that's a wrap, my love π this page is brought to you by EPFL, dated 2010, and it is literally the XDF_GET_EVTTYPE(3) moment of your day. stan the xdffileio manual, periodt πβ
π¦ where this page comes from
- debian bookworm: libxdffileio-dev 0.3-4 Β· LGPL-3.0-or-later
- debian trixie: libxdffileio-dev 0.3-4+b2 Β· LGPL-3.0-or-later
- fedora 43: xdffileio-devel 0.3-23.fc43 Β· LGPL-3.0-or-later
- fedora 43: xdffileio-devel 0.3-23.fc43 Β· LGPL-3.0-or-later
- fedora 44: xdffileio-devel 0.3-24.fc44 Β· LGPL-3.0-or-later
- fedora 44: xdffileio-devel 0.3-24.fc44 Β· LGPL-3.0-or-later
- ubuntu jammy: libxdffileio-dev 0.3-4 Β· LGPL-3.0-or-later
- ubuntu noble: libxdffileio-dev 0.3-4ubuntu3 Β· LGPL-3.0-or-later
- ubuntu questing: libxdffileio-dev 0.3-4ubuntu3
- ubuntu resolute: libxdffileio-dev 0.3-4ubuntu4 Β· LGPL-3.0-or-later
- ubuntu stonking: libxdffileio-dev 0.3-4ubuntu4 Β· LGPL-3.0-or-later
- Copyright 2010 (c) EPFL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms