
linux C
走位崴了脚
fighting
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LINUX X11剪贴板/clipboard访问C代码范例(可获取文件路径)
参考: https://github.com/exebook/x11clipboard https://stackoverflow.com/questions/27378318/c-get-string-from-clipboard-on-linux 标准情况: // gcc -o xclipget xclipget.c -lX11 #include <stdio.h> #i...转载 2020-02-20 22:29:16 · 1680 阅读 · 0 评论 -
基于信号量实现linux平台守护进程
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <string> #include <algorithm> #include <sys/time.h> #include <sys/w...原创 2020-02-20 22:09:10 · 197 阅读 · 0 评论