git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: the correct way to detect ahci LBA48 support
[lunaix-os.git]
/
lunaix-os
/
kernel
/
demos
/
simple_sh.c
diff --git
a/lunaix-os/kernel/demos/simple_sh.c
b/lunaix-os/kernel/demos/simple_sh.c
index 5e8919442bda86e7fdd31340084885e1415cdbe3..acebe211de046867f99bc1cc2503d9cdbd93f363 100644
(file)
--- a/
lunaix-os/kernel/demos/simple_sh.c
+++ b/
lunaix-os/kernel/demos/simple_sh.c
@@
-1,8
+1,8
@@
#include <lunaix/fctrl.h>
#include <lunaix/foptions.h>
#include <lunaix/ioctl.h>
#include <lunaix/fctrl.h>
#include <lunaix/foptions.h>
#include <lunaix/ioctl.h>
+#include <lunaix/lunaix.h>
#include <lunaix/lunistd.h>
#include <lunaix/lunistd.h>
-#include <lunaix/proc.h>
#include <lunaix/signal.h>
#include <lunaix/status.h>
#include <lunaix/signal.h>
#include <lunaix/status.h>
@@
-124,8
+124,8
@@
sh_loop()
pid_t p;
signal(_SIGINT, sigint_handle);
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());
// stdout (by default, unless user did smth) is the tty we are currently at
ioctl(stdout, TIOCSPGRP, getpgid());