linux c 编程 ------ 头文件及其作用

#include <stdio.h>

  printf

#include <sys/types.h>

  基本系统数据类型。系统的基本数据类型在32编译环境中保持为32位值,在64编译环境中为64位值

#include <sys/stat.h>

  

#include <fcntl.h>

  open

  此头文件内有 #include <bits/fcntl.h>,"bits/fcntl.h"定义了O_RDWR

#include <unistd.h>

  close

#include <sys/ioctl.h>

  ioctl

原文地址:https://www.cnblogs.com/god-of-death/p/9502615.html