![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
庄山浪水
这个作者很懒,什么都没留下…
展开
-
undefined reference to `__ctype_b_loc'
xxx.a(libbbb.so): undefined reference to `__ctype_b_loc' xxx.a(libbbb.so): undefined reference to `__ctype_tolower_loc' 因为我的编译工具链是mips-linux-uclibc-gnu-gcc-4.7.2 而用了lib-5.4.0的库(交叉编译) 用对应版本的库OK ...原创 2019-11-15 14:20:41 · 1877 阅读 · 1 评论 -
mips架构,oom内存泄漏,怎么破!!!
[ 6692.685237] FS(0)-tick invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0 [ 6692.693408] CPU: 0 PID: 367 Comm: FS(0)-tick Tainted: G O 3.10.14__isvp_monkey_1.0__ #24 [ 66...原创 2018-07-27 19:50:47 · 952 阅读 · 0 评论 -
C语言中命令行参数argc argv
1. argc 为int型,argv为指针数组,char *argv[], char **argv, char argv[][]; 2 .argc 为 1时, 只有程序名, argv[0] 为路径及程序名 2. argc 为 2时, argv[0]为路径及程序名, argv[1]为字符串参数 3. argc为 3时, argv[0]为路径及程序名, argv[1]为字符串参数, ...原创 2019-04-27 18:14:28 · 318 阅读 · 0 评论 -
Linux上的GetTickCount函数
#include <time.h> // 返回自系统开机以来的毫秒数(tick) unsigned long GetTickCount() { struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts); return (ts.tv_sec * 1000 + ts.tv_nsec / 1000000...原创 2019-09-17 20:04:15 · 2234 阅读 · 0 评论