summaryrefslogtreecommitdiff
path: root/src/web/libc/include/stdio.h
blob: 928950542eda70a2b006c7c0ff13905013431443 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef PARDES_WEB_STDIO_H
#define PARDES_WEB_STDIO_H

#include <stdarg.h>
#include <stddef.h>

typedef struct PardesWebFile FILE;

#define stderr ((FILE *)0)

int fprintf(FILE *stream, const char *format, ...);
int fclose(FILE *stream);
FILE *fdopen(int descriptor, const char *mode);
int fputc(int character, FILE *stream);
int fputs(const char *string, FILE *stream);
int snprintf(char *restrict buffer, size_t size, const char *restrict format, ...);
int vsnprintf(char *restrict buffer, size_t size, const char *restrict format, va_list args);

#endif