Skip to content

sys cstdio

IsaacShelton edited this page Nov 13, 2022 · 5 revisions

sys/cstdio

sys/cstdio.adept contains symbols from <stdio.h>.

Constants

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

Pseudo-Globals

external stdin  *FILE
external stdout *FILE
external stderr *FILE

Structs

struct FILE ( /* ??? */ )

Functions

  • foreign remove(in *ubyte) int
  • foreign rename(in *ubyte, in *ubyte) int
  • foreign tmpfile() *FILE
  • foreign fclose(in *FILE) int
  • foreign fflush(in *FILE) int
  • foreign fopen(in *ubyte, in *ubyte) *FILE
  • foreign freopen(in *ubyte, in *ubyte, in *FILE) *FILE
  • foreign setbuf(in *FILE, in *ubyte) void
  • foreign setvbuf(in *FILE, in *ubyte, in int, in usize) int
  • foreign fgetc(in *FILE) int
  • foreign fgets(out *ubyte, in int, in *FILE) *ubyte
  • foreign fputc(in int, in *FILE) int
  • foreign fputs(in *ubyte, in *FILE) int
  • foreign getc(in *FILE) int
  • foreign putc(in int, in *FILE) int
  • foreign putchar(in int) int
  • foreign getchar() int
  • foreign ungetc(in int, in *FILE) int
  • foreign puts(in *ubyte) int
  • foreign gets(in *ubyte) *ubyte
  • foreign fread(out ptr, in usize, in usize, in *FILE) int
  • foreign fwrite(in ptr, in usize, in usize, in *FILE) int
  • foreign fgetpos(in *FILE, out *long) int
  • foreign fseek(in *FILE, in int, in int) int
  • foreign fsetpos(in *FILE, in *long) int
  • foreign ftell(in *FILE) int
  • foreign rewind(in *FILE) void
  • foreign clearerr(in *FILE) void
  • foreign feof(in *FILE) int
  • foreign ferror(in *FILE) int
  • foreign perror(in *ubyte) void
  • foreign printf(in *ubyte, in ...) int
  • foreign fprintf(in *FILE, in *ubyte, in ...) int
  • foreign sprintf(out *ubyte, in *ubyte, in ...) int
  • foreign snprintf(out *ubyte, in usize, in *ubyte, in ...) int
  • foreign scanf(in *ubyte, out ...) int
  • foreign fscanf(in *FILE, in *ubyte, out ...) int
  • foreign sscanf(in *ubyte, in *ubyte, out ...) int
  • foreign vprintf(in *ubyte, inout va_list) int
  • foreign vfprintf(in *FILE, in *ubyte, inout va_list) int
  • foreign vsprintf(out *ubyte, in *ubyte, inout va_list) int
  • foreign vsnprintf(out *ubyte, in usize, in *ubyte, inout va_list) int
  • foreign vscanf(in *ubyte, inout va_list) int
  • foreign vfscanf(in *FILE, in *ubyte, inout va_list) int
  • foreign vsscanf(in *ubyte, in *ubyte, inout va_list) int

Conditionally Included Functions

  • foreign tmpnam(out *ubyte) *ubyte

    Only included if sys_cstdio_define_tmpnam is set to true

Settings

#default sys_cstdio_define_tmpnam false
Clone this wiki locally