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
275cd48511
libc: Add missing pipe2() declaration and implementation.
...
Change-Id: Iacb914bd6ac5adc60c5671e6fef680ede21f9b0c
2010-09-27 17:33:08 +02: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