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) {
130 * Remember whether the stream was open to begin with, and which file
133 * should work. This is unnecessary if it was not a Unix file.
151 /* Get a new descriptor to refer to the new file. */
152 f = _open(file, oflags, DEFFILEMODE);
161 * Leave the existing file descriptor open until dup2() is called
192 * If reopening something that was open before on a real file, try
207 * If we get a valid file descriptor that is greater than
209 * invalid file descriptor. Handle this case by failing the
230 * the file extends, this will fail, but there is not much