Name
create_event — create an event
Synopsis
event *create_event(int manual, int initial, char *name)
Creates an event named name
with an initial state
of initial
. If manual
is true,
the event must be reset manually. If not, setting the event
immediately resets it. Returns NULL
on failure.