About: Select (Unix)     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : yago:WikicatSystemCalls, within Data Space : dbpedia.org:8891 associated with source document(s)
QRcode icon
http://dbpedia.org:8891/describe/?url=http%3A%2F%2Fdbpedia.org%2Fresource%2FSelect_%28Unix%29

select is a system call and application programming interface (API) in Unix-like and POSIX-compliant operating systems for examining the status of file descriptors of open input/output channels. The select system call is similar to the poll facility introduced in UNIX System V and later operating systems. However, with the c10k problem, both select and poll have been superseded by the likes of kqueue, epoll, and I/O completion ports. In the C programming language, the select system call is declared in the header file sys/select.h or unistd.h, and has the following syntax:

AttributesValues
rdf:type
rdfs:label
  • Select (Unix) (en)
  • Select (Unix) (zh)
rdfs:comment
  • select是用于I/O多路转接的一个系统调用函数。 在C程序中,该系统调用在 sys/select.h 或 unistd.h 中声明,语法如下: int select(int nfds, fd_set* readfds, fd_set* writefds, fd_set* errorfds, struct timeval* timeout); 为了维护fd_set类型的参数,会使用下面四个宏:FD_SET, FD_CLR, FD_ZERO 和 FD_ISSET。 返回值: 这个函数将返回描述符集的个数, 如果返回为0,错误则返回-1。 参看: * select(2) * poll(2) (zh)
  • select is a system call and application programming interface (API) in Unix-like and POSIX-compliant operating systems for examining the status of file descriptors of open input/output channels. The select system call is similar to the poll facility introduced in UNIX System V and later operating systems. However, with the c10k problem, both select and poll have been superseded by the likes of kqueue, epoll, and I/O completion ports. In the C programming language, the select system call is declared in the header file sys/select.h or unistd.h, and has the following syntax: (en)
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
  • select is a system call and application programming interface (API) in Unix-like and POSIX-compliant operating systems for examining the status of file descriptors of open input/output channels. The select system call is similar to the poll facility introduced in UNIX System V and later operating systems. However, with the c10k problem, both select and poll have been superseded by the likes of kqueue, epoll, and I/O completion ports. One common use of select outside of its stated use of waiting on filehandles is to implement a portable sub-second sleep. This can be achieved by passing NULL for all three fd_set arguments, and the duration of the desired sleep as the timeout argument. In the C programming language, the select system call is declared in the header file sys/select.h or unistd.h, and has the following syntax: int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *errorfds, struct timeval *timeout); fd_set type arguments may be manipulated with four utility macros: FD_SET, FD_CLR, FD_ZERO, and FD_ISSET. Select returns the total number of bits set in readfds, writefds and errorfds, or zero if the timeout expired, and -1 on error. The sets of file descriptor used in select are finite in size, depending on the operating system. The newer system call poll provides a more flexible solution. (en)
  • select是用于I/O多路转接的一个系统调用函数。 在C程序中,该系统调用在 sys/select.h 或 unistd.h 中声明,语法如下: int select(int nfds, fd_set* readfds, fd_set* writefds, fd_set* errorfds, struct timeval* timeout); 为了维护fd_set类型的参数,会使用下面四个宏:FD_SET, FD_CLR, FD_ZERO 和 FD_ISSET。 返回值: 这个函数将返回描述符集的个数, 如果返回为0,错误则返回-1。 参看: * select(2) * poll(2) (zh)
gold:hypernym
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
Faceted Search & Find service v1.17_git139 as of Feb 29 2024


Alternative Linked Data Documents: ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3332 as of Dec 5 2024, on Linux (x86_64-generic-linux-glibc212), Single-Server Edition (62 GB total memory, 42 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software