unistd.h: use long in read() and write() prototypes
[neatlibc.git] / stdio.h
blobbffa2065342d7dc10d1594deb1f50d6d3ac12ddd
1 #include <stdarg.h>
3 typedef struct {
4 int fd;
5 } FILE;
7 extern FILE *stdout;
8 extern FILE *stderr;
10 int printf(char *fmt, ...);
11 int fprintf(FILE *filp, char *fmt, ...);
12 int sprintf(char *dst, char *fmt, ...);
13 int vsprintf(char *dst, char *fmt, va_list ap);
15 FILE *fopen(char *path, char *mode);
16 int fclose(FILE *fp);
17 void setbuf(FILE *fp, char *buf);
19 void perror(char *s);