-
-
Notifications
You must be signed in to change notification settings - Fork 9
sys cstdio
IsaacShelton edited this page Nov 13, 2022
·
5 revisions
sys/cstdio.adept contains symbols from <stdio.h>.
define SEEK_SET = /* ??? */
define SEEK_CUR = /* ??? */
define SEEK_END = /* ??? */
define BUFSIZ = /* ??? */
define EOF = /* ??? */
define FILENAME_MAX = /* ??? */
define FOPEN_MAX = /* ??? */
define TMP_MAX = /* ??? */
define _IOFBF = /* ??? */
define _IOLBF = /* ??? */
define _IONBF = /* ??? */
define L_tmpnam = /* ??? */
define STDIN = stdin
define STDOUT = stdout
define STDERR = stderr
external stdin *FILE
external stdout *FILE
external stderr *FILE
struct FILE ( /* ??? */ )
foreign remove(in *ubyte) intforeign rename(in *ubyte, in *ubyte) intforeign tmpfile() *FILEforeign fclose(in *FILE) intforeign fflush(in *FILE) intforeign fopen(in *ubyte, in *ubyte) *FILEforeign freopen(in *ubyte, in *ubyte, in *FILE) *FILEforeign setbuf(in *FILE, in *ubyte) voidforeign setvbuf(in *FILE, in *ubyte, in int, in usize) intforeign fgetc(in *FILE) intforeign fgets(out *ubyte, in int, in *FILE) *ubyteforeign fputc(in int, in *FILE) intforeign fputs(in *ubyte, in *FILE) intforeign getc(in *FILE) intforeign putc(in int, in *FILE) intforeign putchar(in int) intforeign getchar() intforeign ungetc(in int, in *FILE) intforeign puts(in *ubyte) intforeign gets(in *ubyte) *ubyteforeign fread(out ptr, in usize, in usize, in *FILE) intforeign fwrite(in ptr, in usize, in usize, in *FILE) intforeign fgetpos(in *FILE, out *long) intforeign fseek(in *FILE, in int, in int) intforeign fsetpos(in *FILE, in *long) intforeign ftell(in *FILE) intforeign rewind(in *FILE) voidforeign clearerr(in *FILE) voidforeign feof(in *FILE) intforeign ferror(in *FILE) intforeign perror(in *ubyte) voidforeign printf(in *ubyte, in ...) intforeign fprintf(in *FILE, in *ubyte, in ...) intforeign sprintf(out *ubyte, in *ubyte, in ...) intforeign snprintf(out *ubyte, in usize, in *ubyte, in ...) intforeign scanf(in *ubyte, out ...) intforeign fscanf(in *FILE, in *ubyte, out ...) intforeign sscanf(in *ubyte, in *ubyte, out ...) intforeign vprintf(in *ubyte, inout va_list) intforeign vfprintf(in *FILE, in *ubyte, inout va_list) intforeign vsprintf(out *ubyte, in *ubyte, inout va_list) intforeign vsnprintf(out *ubyte, in usize, in *ubyte, inout va_list) intforeign vscanf(in *ubyte, inout va_list) intforeign vfscanf(in *FILE, in *ubyte, inout va_list) intforeign vsscanf(in *ubyte, in *ubyte, inout va_list) int
-
foreign tmpnam(out *ubyte) *ubyteOnly included if
sys_cstdio_define_tmpnamis set totrue
#default sys_cstdio_define_tmpnam false