X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/c50398ab4cb09658b3b3fff74804d2f26df785e7..f69a7227ff3ad84af3651fe36162e131d4f2b323:/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());