#include <stdio.h>#include <stdlib.h>#include "loc_incl.h"#include <sys/stat.h>Include dependency graph for freopen.c:

Go to the source code of this file.
Defines | |
| #define | PMODE 0666 |
| #define | O_RDONLY 0 |
| #define | O_WRONLY 1 |
| #define | O_RDWR 2 |
| #define | O_CREAT 0x010 |
| #define | O_TRUNC 0x020 |
| #define | O_APPEND 0x040 |
Functions | |
| int | _open (const char *path, int flags) |
| int | _creat (const char *path, _mnx_Mode_t mode) |
| int | _close (int d) |
| FILE * | freopen (const char *name, const char *mode, FILE *stream) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
Definition at line 32 of file freopen.c. References __iotab, _close(), _creat(), _IOAPPEND, _IOFBF, _IOFIFO, _IOLBF, _IOMYBUF, _IONBF, _IOREAD, _IOWRITE, _open(), fflush(), fileno(), flags, FOPEN_MAX, fstat, i, O_APPEND, O_CREAT, O_RDONLY, O_RDWR, O_TRUNC, O_WRONLY, PMODE, S_ISFIFO, st, and stat::st_mode. Referenced by acquire_malout(), getfile(), main(), makerewindable(), openfile(), and run(). |
1.4.6