summaryrefslogtreecommitdiff
path: root/stdio.yaml
blob: b7dcfb97837b0cf1472c477521e1908fa534cc77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

includes:
  stdint.h

structs:
  - name: FILE
    putc: { type: fn_ptr, result: int, args: { id: uint32_t, c: char } }
    puts: { type: fn_ptr, result: int, args: { id: uint32_t, s: const char* } }
    id:   { type: uint32_t }

variables:
  stdin:  { type: const FILE * }
  stdout: { type: const FILE * }
  stderr: { type: const FILE * }

functions:
  printf: { result: void, args: { format: const char *__restrict__, ...: } }