From 09cfba02634a84d72102958dcdc70e3a7022130b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kyle=20J=C2=A0Cardoza?= Date: Mon, 8 Jul 2024 23:31:07 -0400 Subject: [PATCH] Documentation of kernel API --- doc/syscalls.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/syscalls.md b/doc/syscalls.md index 0f0681d..8d0be30 100644 --- a/doc/syscalls.md +++ b/doc/syscalls.md @@ -18,11 +18,12 @@ successful. Any other value will indicate some specific error. ## 0x00: Terminate with Error Code Arguments: - C: 0x00 - X: Error code + + - C: 0x00 + - X: Error code Return Values: - This call does not return. + - This call does not return. This call exits the calling program, setting the exit status code for the system on its way out. Program control will be returned to @@ -31,10 +32,10 @@ the command shell. ## 0x01: Console Input Arguments: - C: 0x01 + - C: 0x01 Return Values: - C: Character read from stdin + - C: Character read from stdin This call reads one character from standard input. If there is no character ready, this call waits until there is one. The read character will also be