Open main menu

CDOT Wiki β

Changes

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