Previous: x1f4_fset_lxnear, Up: Output Library Functions


6.7.3.3 x1f4_init_lxnear

extern int x1f4_init_lxnear
    (void **lxnear, unsigned flags, const struct x1f4_lxnear_type *attributes);

The x1f4_init_lxnear function constructs an output library as requested by the flags generation flags and the attributes library attributes and stores the address of the construct at the lxnear address.

See Output Library Generation Flags.

See struct x1f4_lxnear_type.

Only the output device descriptions array in the attributes struct x1f4_lxnear_type is observed without explicit indication, the rest of the struct x1f4_lxnear_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 Output Library Errors.

See Output Library Specifics.

See Output Library Usage Mechanics.