Refactor for indiv. type headers; add IO buf/seek

This commit is contained in:
Gitea 2020-12-01 17:32:03 -06:00
parent dc90c51535
commit 2cc3a2678e
1 changed files with 13 additions and 4 deletions

View File

@ -13,13 +13,22 @@
#include <sys/cdefs.h>
#define __need_size_t
#define __need_ssize_t
#define __need_off_t
#include <sys/types.h>
#include <types/size_t.h>
#include <types/ssize_t.h>
#include <types/off_t.h>
typedef unsigned long int fpos_t;
#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 putchar(int);