xdf_get_evttype(3)

xdf_get_evttype3

Get information about an event type

Usage

#include <xdfio.h>

int xdf_get_evttype(struct xdf* xdf, unsigned int evttype,
int* code, const char** desc);

Overview

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.

Return value

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

Errors

EINVAL

xdf, code or desc is NULL.

ERANGE

evttype is an invalid event type of xdf

Releases

Unchanged in 7 releases since Debian 7 (Wheezy).

  1. 7–13

From libxdffileio-dev 0.3-4+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.