#include <ansi.h>#include <minix/dir.h>Go to the source code of this file.
Classes | |
| struct | __iobuf |
Defines | |
| #define | _IOFBF 0x000 |
| #define | _IOREAD 0x001 |
| #define | _IOWRITE 0x002 |
| #define | _IONBF 0x004 |
| #define | _IOMYBUF 0x008 |
| #define | _IOEOF 0x010 |
| #define | _IOERR 0x020 |
| #define | _IOLBF 0x040 |
| #define | _IOREADING 0x080 |
| #define | _IOWRITING 0x100 |
| #define | _IOAPPEND 0x200 |
| #define | _IOFIFO 0x400 |
| #define | SEEK_SET 0 |
| #define | SEEK_CUR 1 |
| #define | SEEK_END 2 |
| #define | stdin (&__stdin) |
| #define | stdout (&__stdout) |
| #define | stderr (&__stderr) |
| #define | BUFSIZ 4096 |
| #define | NULL ((void *)0) |
| #define | EOF (-1) |
| #define | FOPEN_MAX 20 |
| #define | FILENAME_MAX DIRSIZ |
| #define | TMP_MAX 999 |
| #define | L_tmpnam (sizeof("/tmp/") + FILENAME_MAX) |
| #define | __STDIO_VA_LIST__ void * |
| #define | vfscanf _doscan |
| #define | getchar() getc(stdin) |
| #define | putchar(c) putc(c,stdout) |
| #define | getc(p) |
| #define | putc(c, p) |
| #define | feof(p) (((p)->_flags & _IOEOF) != 0) |
| #define | ferror(p) (((p)->_flags & _IOERR) != 0) |
| #define | clearerr(p) ((p)->_flags &= ~(_IOERR|_IOEOF)) |
Typedefs | |
| typedef struct __iobuf | FILE |
| typedef long int | fpos_t |
| typedef unsigned int | size_t |
Functions | |
| _PROTOTYPE (int remove,(const char *_filename)) | |
| _PROTOTYPE (int rename,(const char *_old, const char *_new)) | |
| _PROTOTYPE (FILE *tmpfile,(void)) | |
| _PROTOTYPE (char *tmpnam,(char *_s)) | |
| _PROTOTYPE (int fclose,(FILE *_stream)) | |
| _PROTOTYPE (FILE *fopen,(const char *_filename, const char *_mode)) | |
| _PROTOTYPE (FILE *freopen,(const char *_filename, const char *_mode, FILE *_stream)) | |
| _PROTOTYPE (void setbuf,(FILE *_stream, char *_buf)) | |
| _PROTOTYPE (int setvbuf,(FILE *_stream, char *_buf, int _mode, size_t _size)) | |
| _PROTOTYPE (int fprintf,(FILE *_stream, const char *_format,...)) | |
| _PROTOTYPE (int printf,(const char *_format,...)) | |
| _PROTOTYPE (int sprintf,(char *_s, const char *_format,...)) | |
| _PROTOTYPE (int vfprintf,(FILE *_stream, const char *_format, char *_arg)) | |
| _PROTOTYPE (int vprintf,(const char *_format, char *_arg)) | |
| _PROTOTYPE (int vsprintf,(char *_s, const char *_format, char *_arg)) | |
| _PROTOTYPE (int sscanf,(const char *_s, const char *_format,...)) | |
| _PROTOTYPE (int vsscanf,(const char *_s, const char *_format, char *_arg)) | |
| _PROTOTYPE (char *fgets,(char *_s, int _n, FILE *_stream)) | |
| _PROTOTYPE (int fputc,(int _c, FILE *_stream)) | |
| _PROTOTYPE (int fputs,(const char *_s, FILE *_stream)) | |
| _PROTOTYPE (int getchar,(void)) | |
| _PROTOTYPE (int putchar,(int _c)) | |
| _PROTOTYPE (int puts,(const char *_s)) | |
| _PROTOTYPE (size_t fread,(void *_ptr, size_t _size, size_t _nmemb, FILE *_stream)) | |
| _PROTOTYPE (size_t fwrite,(const void *_ptr, size_t _size, size_t _nmemb, FILE *_stream)) | |
| _PROTOTYPE (int fgetpos,(FILE *_stream, fpos_t *_pos)) | |
| _PROTOTYPE (int fseek,(FILE *_stream, long _offset, int _whence)) | |
| _PROTOTYPE (long ftell,(FILE *_stream)) | |
| _PROTOTYPE (void rewind,(FILE *_stream)) | |
| _PROTOTYPE (void perror,(const char *_s)) | |
Variables | |
| FILE * | __iotab [FOPEN_MAX] |
| FILE | __stdin |
| FILE | __stdout |
| FILE | __stderr |
| #define getc | ( | p | ) |
| _PROTOTYPE | ( | void | perror, | |
| (const char *_s) | ||||
| ) |
| _PROTOTYPE | ( | void | rewind, | |
| (FILE *_stream) | ||||
| ) |
| _PROTOTYPE | ( | long | ftell, | |
| (FILE *_stream) | ||||
| ) |
| _PROTOTYPE | ( | int | fseek, | |
| (FILE *_stream, long _offset, int _whence) | ||||
| ) |
| _PROTOTYPE | ( | int | puts, | |
| (const char *_s) | ||||
| ) |
| _PROTOTYPE | ( | int | putchar, | |
| (int _c) | ||||
| ) |
| _PROTOTYPE | ( | int | getchar, | |
| (void) | ||||
| ) |
| _PROTOTYPE | ( | int | fputs, | |
| (const char *_s, FILE *_stream) | ||||
| ) |
| _PROTOTYPE | ( | int | fputc, | |
| (int _c, FILE *_stream) | ||||
| ) |
| _PROTOTYPE | ( | char * | fgets, | |
| (char *_s, int _n, FILE *_stream) | ||||
| ) |
| _PROTOTYPE | ( | int | vsscanf, | |
| (const char *_s, const char *_format, char *_arg) | ||||
| ) |
| _PROTOTYPE | ( | int | sscanf, | |
| (const char *_s, const char *_format,...) | ||||
| ) |
| _PROTOTYPE | ( | int | vsprintf, | |
| (char *_s, const char *_format, char *_arg) | ||||
| ) |
| _PROTOTYPE | ( | int | vprintf, | |
| (const char *_format, char *_arg) | ||||
| ) |
| _PROTOTYPE | ( | int | vfprintf, | |
| (FILE *_stream, const char *_format, char *_arg) | ||||
| ) |
| _PROTOTYPE | ( | int | sprintf, | |
| (char *_s, const char *_format,...) | ||||
| ) |
| _PROTOTYPE | ( | int | printf, | |
| (const char *_format,...) | ||||
| ) |
| _PROTOTYPE | ( | int | fprintf, | |
| (FILE *_stream, const char *_format,...) | ||||
| ) |
| _PROTOTYPE | ( | void | setbuf, | |
| (FILE *_stream, char *_buf) | ||||
| ) |
| _PROTOTYPE | ( | FILE * | fopen, | |
| (const char *_filename, const char *_mode) | ||||
| ) |
| _PROTOTYPE | ( | int | fclose, | |
| (FILE *_stream) | ||||
| ) |
| _PROTOTYPE | ( | char * | tmpnam, | |
| (char *_s) | ||||
| ) |
| _PROTOTYPE | ( | FILE * | tmpfile, | |
| (void) | ||||
| ) |
| _PROTOTYPE | ( | int | rename, | |
| (const char *_old, const char *_new) | ||||
| ) |
| _PROTOTYPE | ( | int | remove, | |
| (const char *_filename) | ||||
| ) |
1.5.8