diff options
Diffstat (limited to 'src/common/include/proto')
-rw-r--r-- | src/common/include/proto/launch.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/common/include/proto/launch.h b/src/common/include/proto/launch.h new file mode 100644 index 0000000..3192f82 --- /dev/null +++ b/src/common/include/proto/launch.h @@ -0,0 +1,26 @@ +#pragma once + +// Standard file descriptor numbers +// If these FDs are mapped when a process is launched, a specific role for them is assumed + +// {{ Automatically causes libc stdio initialization + +// tty_stdio : assume we have a terminal window for keyboard I/O +#define STD_FD_TTY_STDIO 1 + +// if stdin is mapped, we assume no terminal window +#define STD_FD_STDIN 2 +#define STD_FD_STDOUT 3 +#define STD_FD_STDERR 4 + +// }} + + +#define STD_FD_GIP 5 // graphics initiation protocol, i.e. GUI window + +// For system services +#define STD_FD_GIOSRV 10 + +#define STD_FD_TTYSRV 11 + +/* vim: set sts=0 ts=4 sw=4 tw=0 noet :*/ |