syscall!(read, fd
=
INT
, buf
=
output_struct_ref(
2
), count
=
INT
; [
"DESC"
]);
syscall!(write, fd
=
INT
, buf
=
input_struct_ref(
6
), count
=
INT
; [
"DESC"
]);
syscall!(
open
, filename
=
STR
, flags
=
INT
, flags
=
INT
; [
"DESC"
,
"FILE"
]);
syscall!(close, fd
=
INT
; [
"DESC"
]);
syscall!(stat, filename
=
STR
, statbuf
=
output_struct(sizeof!(stat)); [
"FILE"
,
"STAT"
,
"STAT_LIKE"
]);
syscall!(fstat, fd
=
INT
, statbuf
=
output_struct(sizeof!(stat)); [
"DESC"
,
"FSTAT"
,
"STAT_LIKE"
]);
...