Skip to content
Snippets Groups Projects
Commit 4483bec0 authored by a2-stratford's avatar a2-stratford
Browse files

Added prototype

parent 72307775
Branches
No related tags found
2 merge requests!22Merge Feature/system calls,!15Alex/27 implement open system call
...@@ -44,9 +44,10 @@ void syscall_create(struct intr_frame *f); ...@@ -44,9 +44,10 @@ void syscall_create(struct intr_frame *f);
void syscall_write(struct intr_frame *f); void syscall_write(struct intr_frame *f);
/* /*
* NOTE: There are more system calls implemented by Pintos but we are not * Opens the file called file. Returns a nonnegative integer handle called a
* implementing them because the assignment brief does not ask of it. * "file descriptor" (fd), or -1 if the file could not be opened.
*/ */
void syscall_open(struct intr_frame *f);
/* /*
* special additional stuff for handling file descriptors because they're annoying * special additional stuff for handling file descriptors because they're annoying
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment