首页 > 解决方案 > 如何在 Android Posix 中实现 crypt() 和 wordexp.h

问题描述

我知道这两个功能不是由 Bionics libc 实现提供的。我确实需要这些用于 C++ 到 Android 的端口。我怎么解决这个问题?我不知道从哪里开始。

我收到这些错误消息:

error: unknown type name 'wordexp_t' error: use of undeclared identifier 'crypt'

有任何想法吗?

标签: androidc++posixlibcbionic

解决方案


推荐阅读