Next: x1f4_note_lxpoll, Previous: x1f4_fset_lxpoll, Up: Control Library Functions [Index]
extern int x1f4_init_lxpoll (void **lxpoll, unsigned flags, const struct x1f4_lxpoll_type *attributes);
The x1f4_init_lxpoll
function constructs a control library as requested
by the flags
generation flags and the attributes
library attributes and stores the address of the construct at the lxpoll
address.
See Control Library Generation Flags.
Only the type id to assume for the ‘dispatch’ type, the type ids for the
‘file’ and ‘date’ types, the descriptions of the non trivially
recordable types (the implicit string type and the referable types) and the
temporaries allocator fields in the attributes
struct
x1f4_lxpoll_type
record are observed without explicit indication, the rest of
the struct x1f4_lxpoll_type
fields are observed only if explicitly
requested (via flags
).
The function returns 0
for success, one of the defined error codes for
failure.