FENIX_libc/include/stdio.h

40 lines
963 B
C
Executable file

/*
* <stdio.h> - input/output
* This header is a part of the FENIX C Library and is free software.
* You can redistribute and/or modify it subject to the terms of the
* Clumsy Wolf Public License v4. For more details, see the file COPYING.
*
* The FENIX C Library is distributed WITH NO WARRANTY WHATSOEVER. See
* The CWPL for more details.
*/
#ifndef _STDIO_H
#define _STDIO_H
#include <sys/cdefs.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);
int puts(const char *);
void perror(const char *);
#endif