27 lines
751 B
C
27 lines
751 B
C
#ifndef _STDIO_H
|
|
#define _STDIO_H
|
|
|
|
#include <stddef.h>
|
|
#include <stdarg.h>
|
|
|
|
typedef struct _FILE FILE;
|
|
|
|
extern FILE *stdin;
|
|
extern FILE *stdout;
|
|
extern FILE *stderr;
|
|
|
|
int printf(const char *format, ...);
|
|
int fprintf(FILE *stream, const char *format, ...);
|
|
int sprintf(char *str, const char *format, ...);
|
|
int snprintf(char *str, size_t size, const char *format, ...);
|
|
int vprintf(const char *format, va_list ap);
|
|
int vsnprintf(char *str, size_t size, const char *format, va_list ap);
|
|
size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream);
|
|
int fflush(FILE *stream);
|
|
int fputc(int c, FILE *stream);
|
|
int fputs(const char *s, FILE *stream);
|
|
int rename(const char *oldpath, const char *newpath);
|
|
int remove(const char *pathname);
|
|
|
|
#endif
|