summaryrefslogtreecommitdiff
path: root/documentation/kernel-interfaces/app-entry.txt
blob: 1a09d2214091b04d65843b112c99401c029b1a29 (plain) (blame)
1
2
3
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.