Next: x1f4_lead_lxdate, Previous: x1f4_fset_lxdate, Up: Date And Time Library Functions [Index]
extern int x1f4_init_lxdate
(void **lxdate, unsigned flags, const struct x1f4_lxdate_type *attributes);
The x1f4_init_lxdate function constructs a time library as requested by
the flags generation flags and the attributes library attributes
and stores the address of the construct at the lxdate address.
See Date And Time Library Generation Flags.
Only the type ids to use for the introduced ‘date’ and ‘time’ types
fields in the attributes struct x1f4_lxdate_type record are
observed without explicit indication, the rest of the struct
x1f4_lxdate_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 Date And Time Library Errors.