- 博客(2)
- 资源 (2)
- 收藏
- 关注
转载 linux下错误的捕获:errno和strerror的使用
linux下错误的捕获:errno和strerror的使用 经常在调用linux 系统api 的时候会出现一些错误,比方说使用open() write() creat()之类的函数有些时候会返回-1,也就是调用失败,这个时候往往需要知道失败的原因。这个时候使用errno这个全局变量就相当有用了。 在程序代码中包含 #include,然后每次程序调用失败的时候,系统会自动用用错误代码填充
2014-03-29 16:04:07 571
原创 使用android ndk交叉编译libx264的编译脚本
使用的android ndk的编译版本是android_ndk_r8e 在libx264的源代码目录下建立编译脚本:build_android_r8e.sh 内容如下: NDK=$HOME/bin/android-ndk-r8e/ PLATFORM=$NDK/platforms/android-8/arch-arm/ PREBUILT=$NDK/toolchains/arm-linux-
2014-03-25 15:45:22 2277
Samsung S5PC100 data brief
2011-05-21
Vivante Overview.pdf
2011-05-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人