Android的Linux系统调用表
有谁知道在哪里可以找到可以在Android的手机使用的系统调用列表?我想,找内核应该工作,但我找不到任何的* .h或的* .c与他们的声明。
Does anyone know where I can find the list of system call that can be used in Android Mobile phones? I guess that looking to the kernel should work, but I cannot find any *.h or *.c with the declaration of them.
最好的问候
您想主要Linux内核手册页的第2节。
You primarily want section 2 of the linux kernel manual pages.
很少是唯一到Android,少数陷阱在android文档是(无SYS-V IPC,AF_INET套接字不会工作,除非你是网络组等)。大多数的Android加法是司机(粘合剂等)和新的使用模式(例如用户ID),而不是实际的系统调用。
Very little is unique to Android, the few gotchas being in the android docs (no sys-V IPC, AF_INET sockets won't work unless you are in the network group, etc). Most of the android additions are drivers (Binder, etc) and novel usage patterns (for example of user IDs) rather than actual syscalls.
如果你确实需要系统调用号可以在仿生/ libc中找到它们/源内SYSCALLS.TXT
If you actually need the syscall numbers you can find them in bionic/libc/SYSCALLS.TXT within the sources