日期:2014-05-16  浏览次数:23027 次

用什么学习函数库?
我们现在学习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源码, 一边是自己的代码,配合起来。