freopen返回errno 14:相當於EFAULT - bad ADDRESS 在Ubuntu上交叉編譯。 執行的基於臂機器人裝置 內核3.0.23上PERFfreopen返回errno 14 EFAULT:執行時。 (arm,linux,android)
ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), not stripped
代碼:
if (!freopen(NULL, "rb", stdin)) {
return errno;
}
這似乎缺少一個實際的問題:) – tolanj