android - 如何在 Android Posix 中实现 crypt() 和 wordexp.h
问题描述
我知道这两个功能不是由 Bionics libc 实现提供的。我确实需要这些用于 C++ 到 Android 的端口。我怎么解决这个问题?我不知道从哪里开始。
我收到这些错误消息:
error: unknown type name 'wordexp_t'
error: use of undeclared identifier 'crypt'
有任何想法吗?
解决方案
推荐阅读
- ruby-on-rails - 重构允许更改输入的参数
- php - 如何使自定义购物车费用在 WooCommerce 中征税
- javascript - Next js中页面刷新时查询值丢失?[给出的例子]
- javascript - 我可以在 jsPDF-autotable 正文中放置 for 循环吗?
- java - 如何在 Java 中构建枚举,使用键 int 和值作为字符串
- linux - 权限被拒绝:Docker 中的“/var/lib/pgadmin/sessions”
- java - 字符串索引超出范围错误 - 如何在 java 中垂直打印此字符串?
- firebase - 带有 Firebase 和 Xcode 12 的 SwiftUI 应用程序生命周期
- reactjs - 如何将基于类的单选按钮组更改为基于功能的单选按钮组
- r - 在 R 中导入 excel 文件时出现日期格式问题