Next: , Previous: , Up: File Library Functions   [Index] x1f4_init_lxfile

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.

See struct x1f4_lxfile_type.

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.

See File Library Specifics.

See File Library Usage Mechanics.