Lines Matching refs: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.
31 Returns file pointer on success.
37 doopen(file, type, errnum)
38 char *type, *file;
44 if ((stat(file, &st) < 0 && errno == EOVERFLOW) ||
45 (fptr = fopen(file, type)) == NULL) {
47 "%s: Can't open '%s' type: %s\n",program,file,type);
50 Dout(pn, 0, "can't open '%s' type: %s\n",program,file,type);