rax | 11 | execude program / script | 8 bit |
rbx | *filename | Pointer to direktory/filename | some bytes |
rcx | *argv | Pointer to options for the program | some bytes |
rdx | *envp | Pointer to environment parameters to set for the program | some bytes |
On return | eax |
errorcode |
Errorcode | c++ name | Description |
1 | EPERM | Operation not permitted |
2 | ENOENT | No such file or directory |
5 | EIO | I/O error |
7 | E2BIG | Argument list too long |
8 | ENOEXEC | Exec format error |
12 | ENOMEM | Out of memory |
13 | EACCES | Permission denied |
14 | EFAULT | Bad address |
20 | ENOTDIR | Not a directory |
21 | EISDIR | Is a directory |
22 | EINVAL | Invalid argument |
23 | ENFILE | File table overflow |
24 | EMFILE | Too many open files |
26 | ETXTBSY | Text file busy |
32 | EPIPE | Broken pipe |
36 | ENAMETOOLONG | File name too long |
40 | ELOOP | Too many symbolic links encountered |
80 | ELIBBAD | Accessing a corrupted shared library |