Next: x1f4_list_lxfile, Previous: x1f4_fset_lxfile, Up: File Library Functions
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.