Previous: x1f4_fset_lxtext, Up: Text Library Functions


6.5.3.3 x1f4_init_lxtext

extern int x1f4_init_lxtext
    (void **lxtext, unsigned flags, const struct x1f4_lxtext_type *attributes);

The x1f4_init_lxtext function constructs a text library as requested by the flags generation flags and the attributes library attributes and stores the address of the construct at the lxtext address.

See Text Library Generation Flags.

See struct x1f4_lxtext_type.

Only the temporaries allocator record in the attributes struct x1f4_lxtext_type is observed without explicit indication, the rest of the struct x1f4_lxtext_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 Text Library Errors.

See Text Library Specifics.

See Text Library Usage Mechanics.