Skip to content

Commit

Permalink
Update sysproc.c
Browse files Browse the repository at this point in the history
Mahsa-h authored Dec 4, 2016
1 parent 91fd347 commit 1b18c7e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sysproc.c
Original file line number Diff line number Diff line change
@@ -89,3 +89,9 @@ sys_uptime(void)
release(&tickslock);
return xticks;
}
/////mine
void
sys_getpid(void)
{
printf("pid is: %d", getppid());
}

0 comments on commit 1b18c7e

Please sign in to comment.