Lines Matching refs:mode
30 /* mode for sm io (exposed) */
38 # define SM_IO_BINARY 0x0 /* binary mode: not used in Unix */
39 #define SM_IS_BINARY(mode) (((mode) & SM_IO_BINARY) != 0)
40 #define SM_IO_MODE(mode) ((mode) & 0x0f)
91 ** try to write or read from a file that is in `read' or `write' mode.
92 ** (Moreover, they can, and do, automatically switch from read mode to
93 ** write mode, and back, on "r+" and "w+" files.)
135 struct sm_file *f_modefp; /* sync mode with this fp */
230 #define SMAPP 0x000400 /* fdopen()ed in append mode */
237 #define SMMODEMASK 0x0070 /* read/write mode */