Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚在 ios7(xcode beta5) 上运行了我的 iOS APP,但它崩溃了,我发现 getpwuid 函数返回 null,但它在 ios6 中运行良好,请帮助我,谢谢。
struct passwd* pwd = getpwuid(getuid());
执行后,pwd 为空,并且
错误信息:
没有这样的过程。