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

extern int x1f4_hold_lxfile
    (void *file, void **sd, const struct x1f4_sffile_type **sffile);

The x1f4_hold_lxfile function stores the address of the record describing the file operation methods at sffile and the file operation context (the pointer passed as the first argument to the file operation methods) at sd for the file file.

See struct x1f4_sffile_type.

The function returns 0 for success, non zero for failure (e.g. the file is closed).