diff --git a/userprog/syscall_exit.c b/userprog/syscall_exit.c index 51b22083bc4002bcdb60a605a4fee48c3001be89..3109de5b45953bae32f75ddd27790c5f7bfececc 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