Open main menu
CDOT Wiki
β
Search
Changes
← Older edit
Newer edit →
Syscalls
1 byte added
,
15:02, 16 September 2014
→
Using the syscall macro definitions in asm code
Using either of these approaches, you can use the <code>__NR_''xxxx''</code> macros in your assembler code:
#include <asm/unistd.h
>
...
mov $__NR_write,%rax
Chris Tyler
Bureaucrats
,
Administrators
1,885
edits