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
feat: integrate gdb support over serial port for bare-metal debugging.
[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..3a1e1bba33992c3ac0081cc3649f5add51d9cddd 100644
(file)
--- 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);
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());