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


7.12.3.24 x1f4_plot_lxfile

extern int x1f4_plot_lxfile
    (void *file, int *mode, unsigned *bits);

The x1f4_plot_lxfile function stores the class (read or write) and the flags for the file file at mode and bits, respectively.

The class is one of the file classes.

See File Library File Classes.

The flags are a bitwise OR of zero or more file flags.

See File Library File Flags.

The function returns 0 for success, non zero for failure (e.g. the file is not opened). Its error conditions are the same as for x1f4_hold_lxfile.

See x1f4_hold_lxfile.