GNU.WIKI: The GNU/Linux Knowledge Base
[HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]
[0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]
xdf_add_evttype - Adds a type of event
int xdf_add_evttype(struct xdf* xdf, int code, const char* desc);
xdf_add_evttype() adds an event type specified by combination of code
and the event description desc to the file referenced by the handle xdf
opened for writing. If there is no description associated with the
event type, desc should be set to NULL.
If an event type with the same combination has been already added, no
new type will be added and the previous type will be returned.
The function returns the event type in case of success. Otherwise -1 is
returned and errno is set appropriately.
EINVAL xdf is NULL
ENOMEM The system is unable to allocate resources.
EPERM The file referenced by xdf has not been opened for writing or
its file format does not support events.
All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to firstname.lastname@example.org.Page load time: 0.109 seconds. Last modified: November 04 2018 12:49:43.