Next: x1f4_land_lxfile, Previous: x1f4_iset_lxfile, Up: File Library Functions [Index]
extern int x1f4_init_lxfile (void **lxfile, unsigned flags, const struct x1f4_lxfile_type *attributes);
The x1f4_init_lxfile
function constructs a file library as requested by
the flags
generation flags and the attributes
library attributes
and stores the address of the construct at the lxfile
address.
See File Library Generation Flags.
Only the type id to use for the introduced ‘file’ type field in the
attributes
struct x1f4_lxfile_type
record is observed without
explicit indication, the rest of the struct x1f4_lxfile_type
fields are
observed only if explicitly requested (via flags
).
The function returns 0
for success, one of the defined error codes for
failure.
See File Library Errors.