From 397eccb98f3f20489b52050614f730bfaf83e35f Mon Sep 17 00:00:00 2001
From: a2-stratford <alexander3.stratford@live.uwe.ac.uk>
Date: Tue, 3 Dec 2019 18:12:35 +0000
Subject: [PATCH] Update syscall_exit.c

---
 userprog/syscall_exit.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/userprog/syscall_exit.c b/userprog/syscall_exit.c
index 51b2208..3109de5 100644
--- a/userprog/syscall_exit.c
+++ b/userprog/syscall_exit.c
@@ -1,3 +1,12 @@
+/*
+ * Terminates the current user program, returning status to the kernel. If the
+ * Process’s parent waits for it (see below), this is the status that will be
+ * Returned. Conventionally, a status of 0 indicates success and nonzero values
+ * Indicate errors.
+ *
+ * Authored by Alex Stratford
+ */
+
 #include "system_calls.h"
 #include "threads/interrupt.h" // Dependency for intr_frame struct
 #include "threads/thread.h" // Dependency for thread struct
-- 
GitLab