Skip to content

Instantly share code, notes, and snippets.

@Slabity
Created May 11, 2018 20:01
Show Gist options
  • Save Slabity/d57879c3ffd057afe63faf2665a9f4b1 to your computer and use it in GitHub Desktop.
Save Slabity/d57879c3ffd057afe63faf2665a9f4b1 to your computer and use it in GitHub Desktop.
{% include './types.yml' %}
syscall: &syscall
type: syscall
args: []
return: c_int
open:
<<: *syscall
args:
- pathname: *c_char
- flags: *c_int
- mode: mode_t
u8: &u8
size: 1
u16: &u16
size: 2
u32: &u32
size: 4
u64: &u64
size: 8
u128: &u128
size: 16
c_ref: &c_ref
c_char: &c_char
c_int: &c_int
c_long: &c_long
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment