X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/c50398ab4cb09658b3b3fff74804d2f26df785e7..4f966b9a6710d138d6e921bf2a1e40f2abc76f9a:/lunaix-os/kernel/demos/simple_sh.c?ds=sidebyside diff --git a/lunaix-os/kernel/demos/simple_sh.c b/lunaix-os/kernel/demos/simple_sh.c index 5e89194..3a1e1bb 100644 --- a/lunaix-os/kernel/demos/simple_sh.c +++ b/lunaix-os/kernel/demos/simple_sh.c @@ -124,8 +124,8 @@ sh_loop() pid_t p; signal(_SIGINT, sigint_handle); - // set our shell as foreground process (unistd.h:tcsetpgrp is wrapper of - // this) + // set our shell as foreground process + // (unistd.h:tcsetpgrp is essentially a wrapper of this) // stdout (by default, unless user did smth) is the tty we are currently at ioctl(stdout, TIOCSPGRP, getpgid());