Skip to content

Commit

Permalink
Update Lab1.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jinsongwei committed Apr 21, 2016
1 parent 2ce5e7f commit 2e0db16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/Lab1.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

For the Part int wait(int*) syscall, you shold use `argptr()` instead of `argint()` to get argument of wait() in the file `sysproc.c`.
If you are not a good c programmer, you will find it difficult to implement this part.
Please look up carefully the explanation of how to use "argptr(int n,char** p,int size)",
Please look up carefully the explanation of how to use "argptr(int n,char*** p,int size)",
or find other syscall such as fileread() to learn how it calls argptr(int,char**,size).

`n` is the nth argument of syscall.
Expand Down

0 comments on commit 2e0db16

Please sign in to comment.