David 'Digit' Turner
364462ea2e
am 1aeeeae1: am b8d2233e: Merge "libc: tag missing functions in system headers." into gingerbread
...
Merge commit '1aeeeae166920f871c1e4ecd960bb92dcaef0896'
* commit '1aeeeae166920f871c1e4ecd960bb92dcaef0896':
libc: tag missing functions in system headers.
2010-10-11 18:59:30 -07:00
David 'Digit' Turner
bb5581ad6e
libc: tag missing functions in system headers.
...
This matches recent changes in the NDK header.
We enclose missing functions in #if 0 .. #endif blocks
with a clear "MISSING" in comments in order to locate
them later.
Change-Id: I87b3a62e777897e75c9243360fb0a82bcc53d9fb
2010-10-09 17:56:55 +02:00
David 'Digit' Turner
6f39e611f3
am 914528cd: am 223ddfcf: Merge "libc: Add missing pipe2() declaration and implementation." into gingerbread
...
Merge commit '914528cdc90dced0c07055d4d986e68adc8da60c'
* commit '914528cdc90dced0c07055d4d986e68adc8da60c':
libc: Add missing pipe2() declaration and implementation.
2010-09-28 12:48:15 -07:00
David 'Digit' Turner
275cd48511
libc: Add missing pipe2() declaration and implementation.
...
Change-Id: Iacb914bd6ac5adc60c5671e6fef680ede21f9b0c
2010-09-27 17:33:08 +02:00
Jeff Hamilton
2304a0bf86
Fix pwrite to take a const void* instead of void* for the buffer.
...
Change-Id: I10b315946b8f8f7e34825410dfef37e0220edbee
2010-08-11 11:28:26 -05:00
Dima Zavin
63673645c4
libc: make lseek64 proto be glibc compatible (loff_t -> off64_t)
...
Change-Id: Ib79b99be9ca8d4b1f95ceeba416b6abc04187c3c
Signed-off-by: Dima Zavin <dima@android.com >
2010-08-06 11:47:29 -07:00
David 'Digit' Turner
da3019b553
libc: add missing truncate() declaration
...
Change-Id: Icb3601bbc9365b75b05ff443a39192f9cd3cbfb7
2010-06-11 14:40:02 -07:00
Colin Cross
fc10b24acc
Add implementation of fdprintf, clearenv, and stubs for ttyname_r, *usershell
...
Change-Id: I5fe7e8b6ee5edbb49e707c3b6737a58563781fa3
2010-01-15 16:52:35 -08:00
Elliott Hughes
99d7907611
Fix usleep(3) return type to be POSIX-compliant.
...
POSIX usleep(3) returns 0 on successful completion, -1 otherwise:
http://www.opengroup.org/onlinepubs/007908799/xsh/usleep.html
This was found by an external user porting native code:
http://groups.google.com/group/android-porting/browse_thread/thread/674848f001db0292
2009-12-14 17:07:19 -08:00
Elliott Hughes
cf399f77b8
Add a GNU-compatible TEMP_FAILURE_RETRY.
...
I wondered about #ifndef, but the other macros in here don't use it.
I also wondered about __GNUC__, since this macro uses two GCC extensions.
2009-10-05 13:19:05 -07:00
The Android Open Source Project
1dc9e472e1
auto import from //depot/cupcake/@135843
2009-03-03 19:28:35 -08:00
The Android Open Source Project
1767f908af
auto import from //depot/cupcake/@135843
2009-03-03 18:28:13 -08:00
The Android Open Source Project
9f65adf2ba
auto import from //branches/cupcake/...@130745
2009-02-10 15:43:56 -08:00
The Android Open Source Project
4e468ed2eb
Code drop from //branches/cupcake/...@124589
2008-12-17 18:03:48 -08:00
The Android Open Source Project
a27d2baa0c
Initial Contribution
2008-10-21 07:00:00 -07:00