What are the most important POSIX functions not available in Android?

后端 未结 4 629
星月不相逢
星月不相逢 2021-01-02 01:20

I\'m about to port a large C++ project (some sort of Library Project, it contains absolutely no GUI) to Android. It\'s actually a Visual C++ project, but it will be ported t

4条回答
  •  有刺的猬
    2021-01-02 01:57

    Bionic a recode by Google. It is small but optimized for Android.

    The only big thing I know of that it lacks is indeed the pthread_cancel() function.

    My experience is that if you port it successfully to GNU/Linux, without pthread_cancel() calls, then you should be mostly ok.

    BTW, what kind of library are you trying to build? What does it uses? Network, threads...

    PS: Even Linux is not fully POSIX.

提交回复
热议问题