A close system call is a system call used to close a file descriptor by the kernel. For most file systems, a program terminates access to a file in a filesystem using the close system call. This flushes file buffers, updates file metadata, which may include and end-of-file indicator in the data; de-allocates resources associated with the file (including the file descriptor) and updates the system wide table of files in use. Some programming languages maintain a data structure of files opened by their runtime library and may close when the program terminates. This practice is known as resource acquisition is initialization (RAII). Some operating systems will invoke the close on files held by a program if it terminates. Some operating systems will invoke the close syscall as part of an opera
Attributes | Values |
---|
rdf:type
| |
rdfs:label
| - Close (system call) (en)
- Close (sistema-deia) (eu)
- Close (uk)
|
rdfs:comment
| - Irekitako Fitxategi bati buruz sistema eragileak mantentzen duen informazioa askatzen du sistema-dei honek. Programaren bukaeran erabili ohi da, erabilitako fitxategi bakoitzeko behin. int close(int fd); Fitxategi deskribatzaile bat ixten du, horrela ez dio erreferentziarik egiten fitxategi bati eta berrerabili daiteke. Parametroa
* fd: fitxategi deskribatzailea Emaitza
* 0: fitxategia arazorik gabe itxi da.
* -1: errore bat egon bada.
* Datuak: Q5135177 (eu)
- A close system call is a system call used to close a file descriptor by the kernel. For most file systems, a program terminates access to a file in a filesystem using the close system call. This flushes file buffers, updates file metadata, which may include and end-of-file indicator in the data; de-allocates resources associated with the file (including the file descriptor) and updates the system wide table of files in use. Some programming languages maintain a data structure of files opened by their runtime library and may close when the program terminates. This practice is known as resource acquisition is initialization (RAII). Some operating systems will invoke the close on files held by a program if it terminates. Some operating systems will invoke the close syscall as part of an opera (en)
- close — функція, призначеня для закриття файла і вивільнення асоційованого з ним файлового дескриптора, затверджена стандартом POSIX. У UNIX-подібних операційних системах з монолітним ядром реалізується у вигляді системного виклика. У мікроядерних системах (таких, як QNX) може реалізовуватись у вигляді звичайної бібліотечної функції. (uk)
|
dcterms:subject
| |
Wikipage page ID
| |
Wikipage revision ID
| |
Link from a Wikipage to another Wikipage
| |
Link from a Wikipage to an external page
| |
sameAs
| |
dbp:wikiPageUsesTemplate
| |
has abstract
| - A close system call is a system call used to close a file descriptor by the kernel. For most file systems, a program terminates access to a file in a filesystem using the close system call. This flushes file buffers, updates file metadata, which may include and end-of-file indicator in the data; de-allocates resources associated with the file (including the file descriptor) and updates the system wide table of files in use. Some programming languages maintain a data structure of files opened by their runtime library and may close when the program terminates. This practice is known as resource acquisition is initialization (RAII). Some operating systems will invoke the close on files held by a program if it terminates. Some operating systems will invoke the close syscall as part of an operating system recovery as a result of a system failure. (en)
- Irekitako Fitxategi bati buruz sistema eragileak mantentzen duen informazioa askatzen du sistema-dei honek. Programaren bukaeran erabili ohi da, erabilitako fitxategi bakoitzeko behin. int close(int fd); Fitxategi deskribatzaile bat ixten du, horrela ez dio erreferentziarik egiten fitxategi bati eta berrerabili daiteke. Parametroa
* fd: fitxategi deskribatzailea Emaitza
* 0: fitxategia arazorik gabe itxi da.
* -1: errore bat egon bada.
* Datuak: Q5135177 (eu)
- close — функція, призначеня для закриття файла і вивільнення асоційованого з ним файлового дескриптора, затверджена стандартом POSIX. У UNIX-подібних операційних системах з монолітним ядром реалізується у вигляді системного виклика. У мікроядерних системах (таких, як QNX) може реалізовуватись у вигляді звичайної бібліотечної функції. Виклик функції close, як правило, спричиняє синхронізацію внутрішніх файлових буферів, оновлення метаданих файлу, звільнення ресурсів, асоційованих з файловим дескриптором, а потім і самого дескриптора. Як правило, всі відкриті програмою файли автоматично закриваються, коли ця програма завершується (нормально або аварійно).[джерело?] (uk)
|
prov:wasDerivedFrom
| |
page length (characters) of wiki page
| |
foaf:isPrimaryTopicOf
| |
is Link from a Wikipage to another Wikipage
of | |
is Wikipage disambiguates
of | |
is foaf:primaryTopic
of | |