Skip to content
Snippets Groups Projects
Commit c5c3448d authored by 김기훈's avatar 김기훈
Browse files

built_in

parent 98fbc382
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,13 @@ int do_fg(int argc, char** argv) {
if (!validate_fg_argv(argc, argv))
return -1;
// TODO: Fill this.
int pid = waitpid(0,0,0);
if(pid == -1)
printf("Current: no such job\n");
else
printf("%d done\n", pid);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment