Lines Matching refs:open
44 ** SM_STDOPEN -- open a file with stdio behavior
49 ** fp -- file pointer to be associated with the open
56 ** Success: 0 or greater (fd of file from open(2)).
99 fp->f_file = open(path, oflags,
102 return -1; /* errno set by open() */
255 ** SM_STDGETMODE -- for getinfo determine open mode
322 ** SM_GETINFO -- get information about the open file
388 ** SM_STDFDOPEN -- open file by primitive 'fd' rather than pathname
394 ** fp -- the file pointer to be associated with the open
456 ** SM_IO_FOPEN -- open a file
458 ** Same interface and semantics as the open() system call,
462 ** pathname -- path of file to open
463 ** flags -- flags controlling the open
468 ** Returns NULL and sets errno if open() fails.
513 fp->f_file = open(pathname, flags, mode);