查询需要的头文件

1.linuxC手册,搜索函数,然后查看该函数需要的头文件

2.man 安装

sudo yum install man-pages

原文地址:https://www.cnblogs.com/yifengs/p/12717774.html