首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

用什么学习函数库?该怎么解决

2013-01-05 
用什么学习函数库?我们现在学习LINUX 编程,读程序时候有很多头文件,代码中有许多库函数。#include sys/typ

用什么学习函数库?
我们现在学习LINUX 编程,读程序时候有很多头文件,代码中有许多库函数。
#include <sys/types.h>
#include <wait.h>
#include <sys/stat.h>
#include <sys/svrctl.h>
#include <ttyent.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <signal.h>
#include <string.h>
#include <time.h>
#include <stdlib.h>
#include <unistd.h>
#include <utmp.h>
比如像这些头文件。我应该怎么学习他们?就是,有什么书籍是介绍这些的么?
[解决办法]
这个......一般我是先写,写完后再检查用了哪些函数再回头补include,虽然说多include并没有什么害处,只是养成个好习惯,不用动不动include一堆。
[解决办法]
一边是linux源码, 一边是自己的代码,配合起来。

热点排行