Lines Matching defs:file
4 * The contents of this file are subject to the terms of the
6 * (the "License"). You may not use this file except in compliance
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
36 fopen(char *file, char *mode)
38 return (_endopen(file, mode, _findiop()));
42 freopen(char *file, char *mode, FILE *iop)
45 return (_endopen(file, mode, iop));
49 _endopen(char *file, char *mode, FILE *iop)
53 if (iop == NULL || file == NULL || file[0] == '\0')
69 if ((fd = open(file, oflag, 0666)) < 0)
76 /* if update only mode, move file pointer to the end
77 of the file */