Lines Matching refs:file
4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
47 #include <sys/file.h>
55 _endopen(const char *file, const char *mode, FILE *iop, int largefile)
59 if (iop == NULL || file == NULL || file[0] == '\0')
77 fd = open64(file, oflag, 0666); /* mapped to open() for V9 */
79 fd = open(file, oflag, 0666);
112 fopen(const char *file, const char *mode)
118 rc = _endopen(file, mode, iop, LARGE_OPEN);
131 fopen64(const char *file, const char *mode)
137 rc = _endopen(file, mode, iop, ALWAYS_LARGE_OPEN);
145 freopen(const char *file, const char *mode, FILE *iop)
148 return (_endopen(file, mode, iop, LARGE_OPEN));
153 freopen64(const char *file, const char *mode, FILE *iop)
156 return (_endopen(file, mode, iop, ALWAYS_LARGE_OPEN));