- 链接地址:https://blog.csdn.net/yexiangCSDN/article/details/103509190
- 链接标题:《Linux系统调用:pathconf,fpathconf》-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:389
一、介绍pathconf()和fpathconf()都是程序运行时候获取文件相关的限制。两者不同的点在于pathconf采用路径名方式来指定,fpathconf采用文件描述符。#include <unistd.h>long fpathconf(int fd, int name);参数: fd: 打开的文件描述符 name: 资源名称 _PC_XXX 系列常量...
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除