A2osX/INCLUDE/stdio.h.txt

54 lines
1.2 KiB
Plaintext
Raw Normal View History

2020-08-02 12:19:43 +00:00
NEW
AUTO 3,1
2023-01-23 18:33:37 +00:00
#ifndef _SYS_TYPES_H_
#include <sys/types.h>
#endif
2022-01-30 21:47:08 +00:00
#define NULL ((void *)0)
2020-12-23 14:54:57 +00:00
#define O_RDONLY 1
#define O_WRONLY 2
#define O_RDWR 3
#define O_TRUNC 4
#define O_APPEND 8
#define O_TEXT 64
#define O_CREATE 128
2021-05-14 20:58:20 +00:00
#define SEEK_SET 0
#define SEEK_CUR 1
#define SEEK_END 2
2021-01-12 21:14:13 +00:00
short int fopen(const char*,short int,short int,int);
2022-08-20 14:37:37 +00:00
short int fastcall fclose(short int);
2021-05-30 20:34:03 +00:00
int fread(short int,void*,int);
int fwrite(short int,const void*,int);
2020-12-23 14:54:57 +00:00
int fastcall fflush(short int);
2021-05-14 20:58:20 +00:00
int fseek(short int,long,short int);
2023-01-23 18:33:37 +00:00
short int fastcall feof(short int);
2020-12-23 14:54:57 +00:00
long fastcall ftell(short int);
int fastcall remove(const char*);
2020-08-02 12:19:43 +00:00
int rename(const char*,const char*);
2021-05-30 20:34:03 +00:00
int fastcall putchar(short int);
int fputc(short int, short int);
int fastcall puts(const char*);
int fputs(short int,const char*);
char* fgets(short int,char*,int);
char getchar();
char fastcall getc(short int);
2021-05-30 20:34:03 +00:00
// short int ungetc(short int c, short int );
2020-08-02 12:19:43 +00:00
int printf(const char*,...);
int fprintf(short int,const char*,...);
int sprintf(char*,const char*,...);
int scanf(const char*,...);
int fscanf(short int,const char*,...);
int sscanf(const char*,const char*,...);
MAN
TEXT include/stdio.h