mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-24 14:31:05 +00:00
d8631337dd
LIBTUI.S.txt demo
54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
NEW
|
||
AUTO 3,1
|
||
|
||
#ifndef _SYS_TYPES_H_
|
||
#include <sys/types.h>
|
||
#endif
|
||
|
||
#define NULL ((void *)0)
|
||
|
||
#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
|
||
|
||
#define SEEK_SET 0
|
||
#define SEEK_CUR 1
|
||
#define SEEK_END 2
|
||
|
||
short int fopen(const char*,short int,short int,int);
|
||
short int fastcall fclose(short int);
|
||
int fread(short int,void*,int);
|
||
int fwrite(short int,const void*,int);
|
||
|
||
int fastcall fflush(short int);
|
||
int fseek(short int,long,short int);
|
||
short int fastcall feof(short int);
|
||
long fastcall ftell(short int);
|
||
int fastcall remove(const char*);
|
||
int rename(const char*,const char*);
|
||
|
||
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);
|
||
// short int ungetc(short int c, short int );
|
||
|
||
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
|