diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/kernel-interfaces/app-entry.txt | 3 | ||||
-rw-r--r-- | documentation/kernel-interfaces/syscalls.txt | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/documentation/kernel-interfaces/app-entry.txt b/documentation/kernel-interfaces/app-entry.txt deleted file mode 100644 index 1a09d22..0000000 --- a/documentation/kernel-interfaces/app-entry.txt +++ /dev/null @@ -1,3 +0,0 @@ -on entry, the stack is set up, and all registers other than rsp are set to 0. -the ARGC environment variable holds the number of arguments to main. -the ARGV0, ARGV1, ARGV2, etc environment variables hold those arguments. diff --git a/documentation/kernel-interfaces/syscalls.txt b/documentation/kernel-interfaces/syscalls.txt index f7dddba..de00451 100644 --- a/documentation/kernel-interfaces/syscalls.txt +++ b/documentation/kernel-interfaces/syscalls.txt @@ -157,7 +157,10 @@ start process: qword: stream handle here qword: new stream handle in child new handle must be < 65536 - any gifted streams must not have threads waiting to read from our end + any gifted streams must not have threads waiting to read from our end. + any environment variables in the current process whose names do not begin + with an underscore are also set in the child process. the environment + variables in the process start info override any with the same name. end this process: rax in: 17 |