网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Filehandle
释义

Filehandle

中文百科

文档描述符 File descriptor

(重定向自Filehandle)

文档描述符File descriptor)是计算机科学中的一个术语,是一个用于表述指向文档的引用的抽象化概念。

文档描述符在形式上是一个非负整数。实际上,它是一个索引值,指向内核为每一个进程所维护的该进程打开文档的记录表。当进程打开一个现有文档或者创建一个新文档时,内核向进程返回一个文档描述符。在进程设计中,一些涉及底层的进程编写往往会围绕着文档描述符展开。但是文档描述符这一概念往往只适用于UNIX、Linux这样的操作系统。

文档描述符的优点主要有两个:

例如,下面的代码就示范了如何基于文档描述符来读取当前目录下的一个指定文档,并把文档内容打印至Console中。

英语百科

File descriptor 文件描述符

(重定向自Filehandle)
File descriptors for a single process, file table and inode table. Note that multiple file descriptors can refer to the same file table entry (e.g., as a result of the dup system call)[3]:104 and that multiple file table entries can in turn refer to the same inode (if it has been opened multiple times; the table is still simplified because it represents inodes by file names, even though an inode can have multiple names). File descriptor 3 does not refer to anything in the file table, signifying that it has been closed.
Tastaturen sind weitverbreitete Eingabegeräte: Ein Nutzer drückt eine Taste auf der Tastatur und übermittelt damit eine Information an einen Computer oder ein anderes Gerät.
Laptoptastatur mit deutscher Belegung, die kreisbogenförmige Tastenanordnung setzte sich mangels Ergonomie um 2000 nicht durch
Historische japanische Computertastatur

In Unix and related computer operating systems, a file descriptor (FD, less frequently fildes) is an abstract indicator (handle) used to access a file or other input/output resource, such as a pipe or network socket. File descriptors form part of the POSIX application programming interface. A file descriptor is a non-negative integer, although, it is usually represented in C programming language as the type int, negative values being reserved to indicate "no value" or an error condition.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/17 5:16:56