Skip to content

Commit

Permalink
Done
Browse files Browse the repository at this point in the history
  • Loading branch information
Bree-codes committed Aug 13, 2024
1 parent bafe4fe commit c073405
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SystemCalls/ForkandWait/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ int main() {
wait(NULL);
lseek(fd, -7, SEEK_CUR);
write(fd, "planet!\n", 8);printf("Curr pos: %ld\n", lseek(fd, 0, SEEK_CUR));

}

0 comments on commit c073405

Please sign in to comment.