Lines Matching defs:file
53 * Re-direct an existing, open (probably) file to some other file.
54 * ANSI is written such that the original file gets closed if at
58 freopen(const char * __restrict file, const char * __restrict mode,
78 * re-open the same file with a different mode. We allow this only
81 if (file == NULL) {
131 * Remember whether the stream was open to begin with, and which file
134 * should work. This is unnecessary if it was not a Unix file.
152 /* Get a new descriptor to refer to the new file. */
153 f = _open(file, oflags, DEFFILEMODE);
160 f = _open(file, oflags, DEFFILEMODE);
170 * Leave the existing file descriptor open until dup2() is called
202 * If reopening something that was open before on a real file, try
217 * If we get a valid file descriptor that is greater than
219 * invalid file descriptor. Handle this case by failing the
240 * the file extends, this will fail, but there is not much