Next: x1f4_imap_lxfile, Previous: x1f4_fset_lxfile, Up: File Library Functions [Index]
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.
The function returns 0 for success, non zero for failure (e.g. the file
is closed).