| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| getrusage.S | 2011-11-26 | 368 Bytes | |
| getsid.S | 2011-11-26 | 356 Bytes | |
| getsockname.S | 2011-11-26 | 376 Bytes | |
| getsockopt.S | 2011-11-26 | 444 Bytes | |
| gettid.S | 2011-11-26 | 356 Bytes | |
| gettimeofday.S | 2011-11-26 | 380 Bytes | |
| getuid.S | 2011-11-26 | 358 Bytes | |
| init_module.S | 2011-11-26 | 376 Bytes | |
| inotify_add_watch.S | 2011-11-26 | 400 Bytes | |
| inotify_init.S | 2011-11-26 | 380 Bytes | |
| inotify_rm_watch.S | 2011-11-26 | 396 Bytes | |
| ioprio_get.S | 2011-11-26 | 372 Bytes | |
| ioprio_set.S | 2011-11-26 | 372 Bytes | |
| klogctl.S | 2011-11-26 | 359 Bytes | |
| lchown.S | 2011-11-26 | 358 Bytes | |
| link.S | 2011-11-26 | 348 Bytes | |
| listen.S | 2011-11-26 | 356 Bytes | |
| lseek.S | 2011-11-26 | 352 Bytes | |
| lstat.S | 2011-11-26 | 354 Bytes | |
| madvise.S | 2011-11-26 | 360 Bytes | |
| mincore.S | 2011-11-26 | 360 Bytes | |
| mkdir.S | 2011-11-26 | 352 Bytes | |
| mkdirat.S | 2011-11-26 | 360 Bytes | |
| mknod.S | 2011-11-26 | 352 Bytes | |
| mlock.S | 2011-11-26 | 352 Bytes | |
| mount.S | 2011-11-26 | 424 Bytes | |
| mprotect.S | 2011-11-26 | 364 Bytes | |
| mremap.S | 2011-11-26 | 356 Bytes | |
| msync.S | 2011-11-26 | 352 Bytes | |
| munlock.S | 2011-11-26 | 360 Bytes | |
| munmap.S | 2011-11-26 | 356 Bytes | |
| nanosleep.S | 2011-11-26 | 368 Bytes | |
| pause.S | 2011-11-26 | 352 Bytes | |
| pipe2.S | 2011-11-26 | 352 Bytes | |
| pipe.S | 2011-11-26 | 348 Bytes | |
| poll.S | 2011-11-26 | 348 Bytes | |
| prctl.S | 2011-11-26 | 424 Bytes | |
| read.S | 2011-11-26 | 348 Bytes | |
| readlink.S | 2011-11-26 | 364 Bytes | |
| readv.S | 2011-11-26 | 352 Bytes | |
| recvfrom.S | 2011-11-26 | 436 Bytes | |
| recvmsg.S | 2011-11-26 | 360 Bytes | |
| rename.S | 2011-11-26 | 356 Bytes | |
| renameat.S | 2011-11-26 | 364 Bytes | |
| rmdir.S | 2011-11-26 | 352 Bytes | |
| sched_get_priority_max.S | 2011-11-26 | 420 Bytes | |
| sched_get_priority_min.S | 2011-11-26 | 420 Bytes | |
| sched_getparam.S | 2011-11-26 | 388 Bytes | |
| sched_getscheduler.S | 2011-11-26 | 404 Bytes | |
| sched_rr_get_interval.S | 2011-11-26 | 416 Bytes | |
| sched_setparam.S | 2011-11-26 | 388 Bytes | |
| sched_setscheduler.S | 2011-11-26 | 404 Bytes | |
| sched_yield.S | 2011-11-26 | 376 Bytes | |
| select.S | 2011-11-26 | 432 Bytes | |
| sendfile.S | 2011-11-26 | 364 Bytes | |
| sendmsg.S | 2011-11-26 | 360 Bytes | |
| sendto.S | 2011-11-26 | 428 Bytes | |
| setgid.S | 2011-11-26 | 358 Bytes | |
| setgroups.S | 2011-11-26 | 370 Bytes | |
| setitimer.S | 2011-11-26 | 368 Bytes | |
| setpgid.S | 2011-11-26 | 360 Bytes | |
| setpriority.S | 2011-11-26 | 376 Bytes | |
| setregid.S | 2011-11-26 | 366 Bytes | |
| setresgid.S | 2011-11-26 | 370 Bytes | |
| setrlimit.S | 2011-11-26 | 368 Bytes | |
| setsid.S | 2011-11-26 | 356 Bytes | |
| setsockopt.S | 2011-11-26 | 444 Bytes | |
| settimeofday.S | 2011-11-26 | 380 Bytes | |
| shutdown.S | 2011-11-26 | 364 Bytes | |
| sigaction.S | 2011-11-26 | 368 Bytes | |
| sigaltstack.S | 2011-11-26 | 376 Bytes | |
| sigpending.S | 2011-11-26 | 372 Bytes | |
| sigprocmask.S | 2011-11-26 | 376 Bytes | |
| socket.S | 2011-11-26 | 356 Bytes | |
| socketpair.S | 2011-11-26 | 372 Bytes | |
| stat.S | 2011-11-26 | 350 Bytes | |
| stime.S | 2011-11-26 | 352 Bytes | |
| swapoff.S | 2011-11-26 | 360 Bytes | |
| swapon.S | 2011-11-26 | 356 Bytes | |
| symlink.S | 2011-11-26 | 360 Bytes | |
| sync.S | 2011-11-26 | 348 Bytes | |
| sysinfo.S | 2011-11-26 | 360 Bytes | |
| times.S | 2011-11-26 | 352 Bytes | |
| truncate.S | 2011-11-26 | 364 Bytes | |
| umask.S | 2011-11-26 | 352 Bytes | |
| umount2.S | 2011-11-26 | 360 Bytes | |
| uname.S | 2011-11-26 | 352 Bytes | |
| unlink.S | 2011-11-26 | 356 Bytes | |
| unlinkat.S | 2011-11-26 | 364 Bytes | |
| utimes.S | 2011-11-26 | 356 Bytes | |
| vfork.S | 2011-11-26 | 352 Bytes | |
| write.S | 2011-11-26 | 352 Bytes | |
| writev.S | 2011-11-26 | 356 Bytes | |
| __brk.S | 2011-11-26 | 350 Bytes | |
| __fcntl64.S | 2011-11-26 | 366 Bytes | |
| __fcntl.S | 2011-11-26 | 358 Bytes | |
| __fork.S | 2011-11-26 | 354 Bytes | |
| __fstatfs64.S | 2011-11-26 | 374 Bytes | |
| __getcwd.S | 2011-11-26 | 362 Bytes | |
| __getpriority.S | 2011-11-26 | 382 Bytes | |
| __ioctl.S | 2011-11-26 | 358 Bytes | |
| __llseek.S | 2011-11-26 | 435 Bytes | |
| __mmap2.S | 2011-11-26 | 430 Bytes | |
| __open.S | 2011-11-26 | 354 Bytes | |
| __openat.S | 2011-11-26 | 362 Bytes | |
| __pread64.S | 2011-11-26 | 438 Bytes | |
| __ptrace.S | 2011-11-26 | 362 Bytes | |
| __pwrite64.S | 2011-11-26 | 442 Bytes | |
| __reboot.S | 2011-11-26 | 362 Bytes | |
| __rt_sigaction.S | 2011-11-26 | 386 Bytes | |
| __rt_sigprocmask.S | 2011-11-26 | 394 Bytes | |
| __rt_sigtimedwait.S | 2011-11-26 | 398 Bytes | |
| __set_tls.S | 2011-11-26 | 370 Bytes | |
| __setresuid.S | 2011-11-26 | 376 Bytes | |
| __setreuid.S | 2011-11-26 | 372 Bytes | |
| __setuid.S | 2011-11-26 | 364 Bytes | |
| __sigsuspend.S | 2011-11-26 | 378 Bytes | |
| __statfs64.S | 2011-11-26 | 370 Bytes | |
| __sys_clone.S | 2011-11-26 | 442 Bytes | |
| __syslog.S | 2011-11-26 | 362 Bytes | |
| __timer_create.S | 2011-11-26 | 386 Bytes | |
| __timer_delete.S | 2011-11-26 | 386 Bytes | |
| __timer_getoverrun.S | 2011-11-26 | 402 Bytes | |
| __timer_gettime.S | 2011-11-26 | 390 Bytes | |
| __timer_settime.S | 2011-11-26 | 390 Bytes | |
| __wait4.S | 2011-11-26 | 358 Bytes | |
| __waitid.S | 2011-11-26 | 434 Bytes | |
| _exit.S | 2011-11-26 | 357 Bytes | |
| _exit_thread.S | 2011-11-26 | 372 Bytes | |
| accept.S | 2011-11-26 | 356 Bytes | |
| access.S | 2011-11-26 | 356 Bytes | |
| acct.S | 2011-11-26 | 348 Bytes | |
| adjtimex.S | 2011-11-26 | 364 Bytes | |
| bind.S | 2011-11-26 | 348 Bytes | |
| cacheflush.S | 2011-11-26 | 376 Bytes | |
| capget.S | 2011-11-26 | 356 Bytes | |
| capset.S | 2011-11-26 | 356 Bytes | |
| chdir.S | 2011-11-26 | 352 Bytes | |
| chmod.S | 2011-11-26 | 352 Bytes | |
| chown.S | 2011-11-26 | 354 Bytes | |
| chroot.S | 2011-11-26 | 356 Bytes | |
| clock_getres.S | 2011-11-26 | 380 Bytes | |
| clock_gettime.S | 2011-11-26 | 384 Bytes | |
| clock_nanosleep.S | 2011-11-26 | 392 Bytes | |
| clock_settime.S | 2011-11-26 | 384 Bytes | |
| close.S | 2011-11-26 | 352 Bytes | |
| connect.S | 2011-11-26 | 360 Bytes | |
| delete_module.S | 2011-11-26 | 384 Bytes | |
| dup2.S | 2011-11-26 | 348 Bytes | |
| dup.S | 2011-11-26 | 344 Bytes | |
| epoll_create.S | 2011-11-26 | 380 Bytes | |
| epoll_ctl.S | 2011-11-26 | 368 Bytes | |
| epoll_wait.S | 2011-11-26 | 372 Bytes | |
| eventfd.S | 2011-11-26 | 361 Bytes | |
| execve.S | 2011-11-26 | 356 Bytes | |
| fchdir.S | 2011-11-26 | 356 Bytes | |
| fchmod.S | 2011-11-26 | 356 Bytes | |
| fchmodat.S | 2011-11-26 | 364 Bytes | |
| fchown.S | 2011-11-26 | 358 Bytes | |
| fchownat.S | 2011-11-26 | 436 Bytes | |
| fdatasync.S | 2011-11-26 | 368 Bytes | |
| flock.S | 2011-11-26 | 352 Bytes | |
| fstat.S | 2011-11-26 | 354 Bytes | |
| fstatat.S | 2011-11-26 | 362 Bytes | |
| fsync.S | 2011-11-26 | 352 Bytes | |
| ftruncate.S | 2011-11-26 | 368 Bytes | |
| futex.S | 2011-11-26 | 424 Bytes | |
| getdents.S | 2011-11-26 | 366 Bytes | |
| getegid.S | 2011-11-26 | 362 Bytes | |
| geteuid.S | 2011-11-26 | 362 Bytes | |
| getgid.S | 2011-11-26 | 358 Bytes | |
| getgroups.S | 2011-11-26 | 370 Bytes | |
| getitimer.S | 2011-11-26 | 368 Bytes | |
| getpeername.S | 2011-11-26 | 376 Bytes | |
| getpgid.S | 2011-11-26 | 360 Bytes | |
| getpid.S | 2011-11-26 | 356 Bytes | |
| getppid.S | 2011-11-26 | 360 Bytes | |
| getresgid.S | 2011-11-26 | 370 Bytes | |
| getresuid.S | 2011-11-26 | 370 Bytes | |
| getrlimit.S | 2011-11-26 | 369 Bytes | |
| Totals: 180 Items | 66.8 kB | 0 | |
Welcome to Bionic, Android's small and custom C library for the Android platform. Bionic is mainly a port of the BSD C library to our Linux kernel with the following additions/changes: - no support for locales - no support for wide chars (i.e. multi-byte characters) - its own smallish implementation of pthreads based on Linux futexes - support for x86, ARM and ARM thumb CPU instruction sets and kernel interfaces Bionic is released under the standard 3-clause BSD License Bionic doesn't want to implement all features of a traditional C library, we only add features to it as we need them, and we try to keep things as simple and small as possible. Our goal is not to support scaling to thousands of concurrent threads on multi-processors machines; we're running this on cell-phones, damnit !! Note that Bionic doesn't provide a libthread_db or a libm implementation. Adding new syscalls: ==================== Bionic provides the gensyscalls.py Python script to automatically generate syscall stubs from the list defined in the file SYSCALLS.TXT. You can thus add a new syscall by doing the following: - edit SYSCALLS.TXT - add a new line describing your syscall, it should look like: return_type syscall_name(parameters) syscall_number - in the event where you want to differentiate the syscall function from its entry name, use the alternate: return_type funcname:syscall_name(parameters) syscall_number - additionally, if the syscall number is different between ARM and x86, use: return_type funcname[:syscall_name](parameters) arm_number,x86_number - a syscall number can be -1 to indicate that the syscall is not implemented on a given platform, for example: void __set_tls(void*) arm_number,-1 the comments in SYSCALLS.TXT contain more information about the line format You can also use the 'checksyscalls.py' script to check that all the syscall numbers you entered are correct. It does so by looking at the values defined in your Linux kernel headers. The script indicates where the values are incorrect and what is expected instead.