Refactor for indiv. type headers; add IO buf/seek
This commit is contained in:
parent
dc90c51535
commit
2cc3a2678e
1 changed files with 13 additions and 4 deletions
|
@ -13,13 +13,22 @@
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
#define __need_size_t
|
#include <types/size_t.h>
|
||||||
#define __need_ssize_t
|
#include <types/ssize_t.h>
|
||||||
#define __need_off_t
|
#include <types/off_t.h>
|
||||||
#include <sys/types.h>
|
|
||||||
|
typedef unsigned long int fpos_t;
|
||||||
|
|
||||||
#define EOF (-1)
|
#define EOF (-1)
|
||||||
|
|
||||||
|
#define _IOFBF 01 /* IO fully buffered */
|
||||||
|
#define _IOLBF 02 /* IO line buffered */
|
||||||
|
#define _IONBF 04 /* IO not buffered */
|
||||||
|
|
||||||
|
#define SEEK_CUR 01 /* Seek relative to current position */
|
||||||
|
#define SEEK_END 02 /* Seek relative to end of file */
|
||||||
|
#define SEEK_SET 04 /* Seek relative to start of file */
|
||||||
|
|
||||||
int printf(const char * __restrict, ...);
|
int printf(const char * __restrict, ...);
|
||||||
|
|
||||||
int putchar(int);
|
int putchar(int);
|
||||||
|
|
Loading…
Reference in a new issue