The write is one of the most basic routines provided by a Unix-like operating system kernel. It writes data from a buffer declared by the user to a given device, such as a file. This is the primary way to output data from a program by directly using a system call. The destination is identified by a numeric code. The data to be written, for instance a piece of text, is defined by a pointer and a size, given in number of bytes. write thus takes three arguments:
Attributes | Values |
---|
rdf:type
| |
rdfs:label
| - Write (sistema-deia) (eu)
- Write (system call) (en)
- 写入 (zh)
|
rdfs:comment
| - Irekitako fitxategi, edo orokorrean kanal, batean informazioa idazteko sistema-deia. read sistema-deiaren baliokidea da, irakurtzekoa bat eta idaztekoa bestea. size_t write (int fd, void* buf, size_t cnt); Parametroak
* fd : fitxategiaren deskribatzailea, sistemari idatzi beharreko fitxategia zein den adieraziz.
* buf: idazteko informazioa gordetzen duen bufferra.
* count: bufferraren tamaina. Emaitza
* Arrakasta kasuan zenbat byte idatzi diren itzultzen du.
* 0: fitxategi amaierara heltzean.
* -1: errore bat egon bada.
* Datuak: Q8038397 (eu)
- 写入(write)是由类Unix操作系统内核提供的最为基本的程序。此程序从用户定义的缓冲中将数据写入设备或文件,这也是从程序中使用系统调用直接输出数据的主要方式。待写入的地点由文件描述符定义;要写入的数据(如文本)由指针和大小(字节数)定义。 write也因此需要三个参数: 1.
* 文件代码(文件描述符或fd); 2.
* 指向文件存储地的缓冲的指针(buf); 3.
* 要从缓冲中写入的字节数(nbytes)。 (zh)
- The write is one of the most basic routines provided by a Unix-like operating system kernel. It writes data from a buffer declared by the user to a given device, such as a file. This is the primary way to output data from a program by directly using a system call. The destination is identified by a numeric code. The data to be written, for instance a piece of text, is defined by a pointer and a size, given in number of bytes. write thus takes three arguments: (en)
|
foaf:depiction
| |
dct: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
| |
thumbnail
| |
has abstract
| - Irekitako fitxategi, edo orokorrean kanal, batean informazioa idazteko sistema-deia. read sistema-deiaren baliokidea da, irakurtzekoa bat eta idaztekoa bestea. size_t write (int fd, void* buf, size_t cnt); Parametroak
* fd : fitxategiaren deskribatzailea, sistemari idatzi beharreko fitxategia zein den adieraziz.
* buf: idazteko informazioa gordetzen duen bufferra.
* count: bufferraren tamaina. Emaitza
* Arrakasta kasuan zenbat byte idatzi diren itzultzen du.
* 0: fitxategi amaierara heltzean.
* -1: errore bat egon bada.
* Datuak: Q8038397 (eu)
- The write is one of the most basic routines provided by a Unix-like operating system kernel. It writes data from a buffer declared by the user to a given device, such as a file. This is the primary way to output data from a program by directly using a system call. The destination is identified by a numeric code. The data to be written, for instance a piece of text, is defined by a pointer and a size, given in number of bytes. write thus takes three arguments: 1.
* The file code (file descriptor or fd). 2.
* The pointer to a buffer where the data is stored (buf). 3.
* The number of bytes to write from the buffer (nbytes). (en)
- 写入(write)是由类Unix操作系统内核提供的最为基本的程序。此程序从用户定义的缓冲中将数据写入设备或文件,这也是从程序中使用系统调用直接输出数据的主要方式。待写入的地点由文件描述符定义;要写入的数据(如文本)由指针和大小(字节数)定义。 write也因此需要三个参数: 1.
* 文件代码(文件描述符或fd); 2.
* 指向文件存储地的缓冲的指针(buf); 3.
* 要从缓冲中写入的字节数(nbytes)。 (zh)
|
prov:wasDerivedFrom
| |
page length (characters) of wiki page
| |
foaf:isPrimaryTopicOf
| |
is Link from a Wikipage to another Wikipage
of | |
is Wikipage redirect
of | |
is Wikipage disambiguates
of | |
is foaf:primaryTopic
of | |