fix: sleeper issue #13
[lunaix-os.git] / lunaix-os / kernel / demos / simple_sh.c
index 5e8919442bda86e7fdd31340084885e1415cdbe3..acebe211de046867f99bc1cc2503d9cdbd93f363 100644 (file)
@@ -1,8 +1,8 @@
 #include <lunaix/fctrl.h>
 #include <lunaix/foptions.h>
 #include <lunaix/ioctl.h>
+#include <lunaix/lunaix.h>
 #include <lunaix/lunistd.h>
-#include <lunaix/proc.h>
 #include <lunaix/signal.h>
 #include <lunaix/status.h>
 
@@ -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());