|
|
|
|
|
by pjmlp
1961 days ago
|
|
fopen is part of ISO C, supported by NDK, and pthread is a special case. https://developer.android.com/ndk/guides/stable_apis > Note that on Android, unlike Linux, there are no separate libpthread or librt libraries. That functionality is included directly in libc, which does not need to be explicitly linked against. Better learn how much POSIX Android actually allows. |
|
How's that? It's a posix api among many others which is implemented on android.
How about fork[0], which is one of the more maligned posix apis (as far as I know, no one has any big problems with pthreads). Or errno[1]. Lots of ugly garbage in android...
0. https://android.googlesource.com/platform/bionic/+/refs/head...
1. https://android.googlesource.com/platform/bionic/+/refs/head...