Linux安全网 - Linux操作系统_Linux 命令_Linux教程_Linux黑客

会员投稿 投稿指南 本期推荐:
搜索:
您的位置: Linux安全网 > Linux编程 > » 正文

Windows_Programing_English_To_Chinese_1_MSVC_C运行库(13)

来源: 未知 分享至:

目录管理

这类函数用来访问、修改和获取目录结构体的信息, 如下表所列。

注意:下面所列的函数与标准C函数库里的函数类似,除了函数前面的下划线之外。

目录管理函数如下表所列:

Directory Management Functions

目录管理函数

§ The following Table lists functions used for directory control and management.

§ 下表所列函数用来进行目录管理和控制

Handle

句柄

Handle referring to open file.

打开文件的句柄

Size

大小

New length of file in bytes.

指定文件的新的大小,以字节为单位

Function

Use

_chdir(), _wchdir()

Change current working directory.

改变当前工作目录

_chdrive()

Change current drive.

改变当前驱动器

_getcwd(), _wgetcwd()

Get current working directory for default drive.

为默认驱动器获取当前工作目录

_getdcwd(), _wgetdcwd()

Get current working directory for specified drive.

为指定的驱动器获取当前工作目录

_getdiskfree()

Populates a_diskfree_t structure with information about a disk drive.


Tags:
分享至:
最新图文资讯
1 2 3 4 5 6
验证码:点击我更换图片 理智评论文明上网,拒绝恶意谩骂 用户名:
关于我们 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 发展历史