cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
64 and 32 bit system calls
64 and 32 bit system calls
Jul 25, 2020 at 4:26pm UTC
adam2016
(1529)
so reading from this table -
https://chromium.googlesource.com/chromiumos/docs/+/master/constants/syscalls.md
why is the system call to write to the terminal = 4 on a 32 bit architecture and the system call number on it's 64 bit cousin = 1
Jul 25, 2020 at 8:20pm UTC
keskiverto
(10402)
The 32 and 64 bit tables seem to have many differences. Obviously the "port to 64" has not been a simple "copy-paste", but a real redesign.
Jul 27, 2020 at 12:13pm UTC
kbw
(9488)
Maybe this helps:
https://unix.stackexchange.com/questions/338650/why-are-linux-system-call-numbers-in-x86-and-x86-64-different
Topic archived. No new replies allowed.