codon/stdlib/sys.codon

15 lines
264 B
Python

# (c) 2022 Exaloop Inc. All rights reserved.
argv = list(__argv__, len(__argv__))
stdin = File(_C.seq_stdin())
stdout = File(_C.seq_stdout())
stderr = File(_C.seq_stderr())
def exit(status: int = 0):
raise SystemExit(status)
maxsize = 0x7FFFFFFFFFFFFFFF