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