zoukankan      html  css  js  c++  java
  • linux学习,c语言头文件分类总结

    1.includee 称为文件包含命令,其意义是把尖括号""或引号<>内指定的文件包含到本程序来,成为本程序的一部分。被包含的文件通常是由系统提供的,其扩展名为.h。因此也称为头文件或首部文件。

    2.<stdio.h> 头文件 库函数:标准输入输出的函数,stdio为standard input output的缩写,意为“标准输入输出” 。

    3.<unistd.h>standard symbolic constants and types 标准符号常量和类型,里面包含函数有:{getpid() --获取进程id  ,getcwd() -- 获取工作目录chdir() --改变工作目录,getuid(), getgid() --获取用户id和组id ,access() -- 检查目录的权限,read() --读取内容,write() --写入内容,fork()创建子进程

    }

    4.<fcntl>--file control文件控制函数 包含函数有open()

    5.<stdlib.h>头文件即standard library标准库头文件包含的函数有{

    常用的函数如malloc()、calloc()、realloc()、free()、system()、atoi()、atol()、rand()、srand()、exit()等等

    }

    后续学习在慢慢补充!!!

     

     

     

     

  • 相关阅读:
    MyBatis 配置文件 用户密码加密存储
    MyBatis 实例
    mybatis 入门搭建
    文件上传
    struts 结果类型
    Struts 拦截器
    log4j
    Struts Action 控制器
    Struts
    四、常用的Maven命令
  • 原文地址:https://www.cnblogs.com/lhyzdd/p/13817994.html
Copyright © 2011-2022 走看看