codon/stdlib/sys.codon

15 lines
272 B
Python
Raw Normal View History

2022-01-24 18:14:50 +08:00
# (c) 2022 Exaloop Inc. All rights reserved.
2021-09-28 02:02:44 +08:00
argv = list(__argv__, len(__argv__))
stdin = File(_C.seq_stdin())
stdout = File(_C.seq_stdout())
stderr = File(_C.seq_stderr())
2022-01-24 18:14:50 +08:00
def exit(status: int = 0) -> void:
2021-09-28 02:02:44 +08:00
raise SystemExit(status)
2022-01-24 18:14:50 +08:00
maxsize = 0x7FFFFFFFFFFFFFFF