zl程序教程

您现在的位置是:首页 >  系统

当前栏目

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

Linux编程 作用 及其 ------ 头文件
2023-09-11 14:19:53 时间

 

#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