系统调用参考地址
http://blog.rchapman.org/posts/Linux_System_Call_Table_for_x86_64/
使用syscall 打印
#include <sys/syscall.h> #include <stdio.h> int main(){ char * str1 = "hhhhh llll"; int rc = syscall(SYS_write,1,str1,20); return 0; }
http://blog.rchapman.org/posts/Linux_System_Call_Table_for_x86_64/
#include <sys/syscall.h> #include <stdio.h> int main(){ char * str1 = "hhhhh llll"; int rc = syscall(SYS_write,1,str1,20); return 0; }