Previous: File Library Errors, Up: File Library Definitions


6.9.1.2 File Library Generation Flags

The file library generation flags affect the file library construction.

Zero or more generation flags may be specified for the flag argument of the file library construction function.

See x1f4_init_lxfile.

X1f4_LXFILE_CODELINK
indicates the file library constructor that it should observe the library data memory allocator (the library data memory allocator allocates memory for the library object construction purposes only).
X1f4_LXFILE_EVERLINK
indicates the file library constructor that it should generate a `f_set' function (which `f_set' function sets `file' data as reference to some `file' object, as per described).

See Miscellaneous File Functions.

X1f4_LXFILE_LISTLINK
indicates the file library constructor that it should observe the `list' data type indications (like the type id of the `list' data type) and that it should generate those functions referring the `list' data type (like the `f_list' function).
X1f4_LXFILE_RESOURCE
indicates the file library constructor that it should observe the data memory allocator (data is data of the `file' type, but also data of any other sort of allocated data type, like data of the intrinsic `text' string type).
X1f4_LXFILE_SETCLOSE
indicates the file library constructor that it should arrange for the close-on-exec flag to be set for the newly opened files (open by the file library, that is).
X1f4_LXFILE_TEXTFLAT
indicates the file library constructor that it should observe the error reporter.