
linux
mastodon
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Linux 2.6.19.x 内核编译配置选项简介(内核裁剪)
Linux 2.6.19.x 内核编译配置选项简介 Code maturity level options 代码成熟度选项 Prompt for development and/or incomplete code/drivers 显示尚在开发中或尚未完成的代码与驱动.除非你是测试人员或者开发者,否则请勿选择 General setup 常规设置 Local v转载 2015-01-15 14:57:41 · 1916 阅读 · 0 评论 -
linux stat函数(获取文件详细信息)
本文转载自:http://www.rrxjs.com/article/84linux stat函数函数原型 #include <sys/stat.h> int stat(const char *restrict pathname, struct stat *restrict buf);提供文件名字,获取文件对应属性。 int fstat(int filedes...转载 2016-03-12 14:07:56 · 5081 阅读 · 0 评论 -
Unix网络编程API
转自:http://www.rrxjs.com/article/13Unix网络编程API1.字节序函数#include <netinet.h>uint16_t htons(uint16_t host16bitvalue);uint32_t htonl(uint32_t host32bitvalue);返回:网络字节序值uint16_t ntohs(uint16_...转载 2015-03-24 22:36:03 · 552 阅读 · 0 评论