Skip to content
Snippets Groups Projects
Unverified Commit 27c859e3 authored by a2-stratford's avatar a2-stratford Committed by ja3-saxby
Browse files

Update syscall_exit.c

parent 54a7b422
Branches
No related tags found
2 merge requests!22Merge Feature/system calls,!12Alex/exit system call
/*
* 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment