Lines Matching refs:mode
213 ** SM_STDSETMODE -- set the access mode for the file
219 ** mode -- new mode to set the file access to
227 sm_stdsetmode(fp, mode)
229 const int *mode;
233 switch (SM_IO_MODE(*mode))
255 ** SM_STDGETMODE -- for getinfo determine open mode
260 ** fp -- the file mode being determined
261 ** mode -- internal mode to map to external value
265 ** Success: external mode value
269 sm_stdgetmode(fp, mode)
271 int *mode;
276 *mode = SM_IO_RDWR;
279 *mode = SM_IO_RDONLY;
282 *mode = SM_IO_WRONLY;
440 /* Make sure the mode the user wants is a subset of the actual mode. */
464 ** ... -- option "mode" for opening the file
482 MODE_T mode;
491 mode = (MODE_T) SM_VA_ARG(ap, int);
495 mode = 0;
513 fp->f_file = open(pathname, flags, mode);