Lines Matching refs:mode
211 ** SM_STDSETMODE -- set the access mode for the file
217 ** mode -- new mode to set the file access to
225 sm_stdsetmode(fp, mode)
227 const int *mode;
231 switch (SM_IO_MODE(*mode))
253 ** SM_STDGETMODE -- for getinfo determine open mode
258 ** fp -- the file mode being determined
259 ** mode -- internal mode to map to external value
263 ** Success: external mode value
267 sm_stdgetmode(fp, mode)
269 int *mode;
274 *mode = SM_IO_RDWR;
277 *mode = SM_IO_RDONLY;
280 *mode = SM_IO_WRONLY;
438 /* Make sure the mode the user wants is a subset of the actual mode. */
462 ** ... -- option "mode" for opening the file
480 MODE_T mode;
489 mode = (MODE_T) SM_VA_ARG(ap, int);
493 mode = 0;
511 fp->f_file = open(pathname, flags, mode);