Stdio.lean
Standard I/O and Process Exit Syscalls
Re-exports Fs/, Fs/, and Kernel/, and defines the syscall dispatch tables and bundles Syscall. and Syscall..
@[expose] public sectionnamespace Arm64namespace Syscall1 declaration not shown (lines 31–33): theorems, which Lean checks, or definitions that no headline statement uses
Arm64.
def stdioTable
Dispatch table for standard stream I/O and process termination (read, write, readv, writev, exit, exit_group).
def stdioTable : List (BitVec 64 × (State → State)) :=
[(SYS_READ, execRead),
(SYS_WRITE, execWrite),
(SYS_READV, execReadv),
(SYS_WRITEV, execWritev),
(SYS_EXIT, execExit),
(SYS_EXIT_GROUP, execExit)]2 declarations not shown (lines 45–50): theorems, which Lean checks, or definitions that no headline statement uses
Arm64., Arm64.
end Syscallend Arm64