会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
孤独的程序员dis1500
知识就是希望
上一页
1
···
404
405
406
407
408
409
410
411
412
···
621
下一页
2020年7月16日
pam配置
摘要: 1.lib64/secrity/pam_userpass.so 2/usr/local/lib/libpam.so 3.express_user /etc/pam.d cp
阅读全文
posted @ 2020-07-16 16:28 lydstory
阅读(132)
评论(0)
推荐(0)
2020年7月15日
c 获取第一个文件 移动
摘要: #include <stdio.h> #include <stdlib.h> #include <dirent.h> #include <errno.h> #include <string.h> #define MAX 1024 int get_file_count(char *root,char*
阅读全文
posted @ 2020-07-15 17:38 lydstory
阅读(184)
评论(0)
推荐(0)
复制1万个pdf
摘要: #include<stdio.h> #include<unistd.h> #include<string.h> int main() { FILE *fp=NULL; int i = 0; for(i=0; i<10000;i++) { char buff[128]={0}; memset(buff
阅读全文
posted @ 2020-07-15 17:07 lydstory
阅读(141)
评论(0)
推荐(0)
find -luuid
摘要: yum install libuuid-devel
阅读全文
posted @ 2020-07-15 16:17 lydstory
阅读(91)
评论(0)
推荐(0)
c语言文件目录操作 ls
摘要: https://www.cnblogs.com/wuyepeng/p/9789466.html
阅读全文
posted @ 2020-07-15 14:42 lydstory
阅读(123)
评论(0)
推荐(0)
2020年7月13日
查看 sem_t
摘要: gcc get.c -o get -lpthread #include <unistd.h>#include <stdlib.h>#include <fcntl.h>#include <sys/types.h>#include <semaphore.h>#include <stdio.h>int m
阅读全文
posted @ 2020-07-13 20:59 lydstory
阅读(221)
评论(0)
推荐(0)
杀掉某个字符串相关进程
摘要: ps -ef | grep wmsvc | grep -v grep | cut -c 9-15 | xargs kill -9 字符串wmsvc
阅读全文
posted @ 2020-07-13 16:18 lydstory
阅读(125)
评论(0)
推荐(0)
sem_post
摘要: 信号量 加1 原子操作 sem_wait -1
阅读全文
posted @ 2020-07-13 14:27 lydstory
阅读(139)
评论(0)
推荐(0)
linux fflush
摘要: 函数名: fflush 功 能: 清除读写缓冲区,在需要立即把输出缓冲区的数据进行物理写入时 头文件:stdio.h 原型:int fflush(FILE *stream) 其中stream是要冲洗的流
阅读全文
posted @ 2020-07-13 14:21 lydstory
阅读(397)
评论(0)
推荐(0)
setsockopt linux
摘要: setsockopt()支持下列选项。其中“类型”表明optval所指数据的类型。 选项 类型 意义 SO_BROADCAST BOOL 允许套接口传送广播信息。 SO_DEBUG BOOL 记录调试信息。 SO_DONTLINER BOOL 不要因为数据未发送就阻塞关闭操作。设置本选项相当于将SO
阅读全文
posted @ 2020-07-13 10:54 lydstory
阅读(165)
评论(0)
推荐(0)
上一页
1
···
404
405
406
407
408
409
410
411
412
···
621
下一页
导航
博客园
首页
新随笔
联系
订阅
管理
公告