In the android sdk path sdk/bionic/libc/bionic/ there are the C API resource code, such as fork.c, ioctl.c etc.. when open ioctl.c:
#include <stdarg.h> extern int __ioctl(int, int, void *); int ioctl(int fd, int request, ...) { va_list ap; void * arg; enter code here va_start(ap, request); arg = va_arg(ap, void *); va_end(ap); return __ioctl(fd, request, arg); } extern int __ioctl(int, int, void *); this means __ioctl(int, int, void *) has been defined somewhere. So I want to know where is the original defined place. Thanks a lot!