# Dutch translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Jos Boersema , 2001. # Mario Blättermann , 2019, 2020. # Luc Castermans , 2022-2023, 2024, 2025. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 2.15\n" "POT-Creation-Date: 2026-06-05 06:42+0200\n" "PO-Revision-Date: 2025-04-21 10:09+0200\n" "Last-Translator: Luc Castermans \n" "Language-Team: Dutch \n" "Language: nl_NL\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" "X-Generator: Lokalize 24.12.0\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "select" msgstr "select" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 februari 2026" #. type: TH #: archlinux debian-unstable #, fuzzy, no-wrap #| msgid "Linux man-pages 6.17" msgid "Linux man-pages 6.18" msgstr "Linux man-paginas 6.17" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "NAAM" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO, fd_set - synchronous I/O " "multiplexing" msgstr "" "select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO fd_set- synchrone Invoer/" "Uitvoer multiplexing" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "BIBLIOTHEEK" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "Standaard C bibliotheek (I, I<-lc>)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "SAMENVATTING" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<#include Esys/select.hE>\n" msgstr "B<#include Esys/select.hE>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B /* ... */ B\n" msgid "B /* .\\|.\\|.\\& */ B\n" msgstr "B /* ... */ B\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, fd_set *_Nullable restrict >IB<,>\n" "B< fd_set *_Nullable restrict >IB<,>\n" "B< fd_set *_Nullable restrict >IB<,>\n" "B< struct timeval *_Nullable restrict >IB<);>\n" msgstr "" "BIB<, fd_set *restrict >IB<,>\n" "B< fd_set *restrict >IB<, fd_set *restrict >IB<,>\n" "B< struct timeval *_NULL_baar restrict >IB<);>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "BIB<, fd_set *>IB<);>\n" #| "BIB<, fd_set *>IB<);>\n" #| "BIB<, fd_set *>IB<);>\n" #| "BIB<);>\n" msgid "" "BIB<, fd_set *>IB<);>\n" "BIB<, const fd_set *>IB<);>\n" "BIB<, fd_set *>IB<);>\n" "BIB<);>\n" msgstr "" "BIB<, fd_set *>IB<);>\n" "BIB<, fd_set *>IB<);>\n" "BIB<, fd_set *>IB<);>\n" "BIB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, fd_set *_Nullable restrict >IB<,>\n" "B< fd_set *_Nullable restrict >IB<,>\n" "B< fd_set *_Nullable restrict >IB<,>\n" "B< const struct timespec *_Nullable restrict >IB<,>\n" "B< const sigset_t *_Nullable restrict >IB<);>\n" msgstr "" "BIB<, fd_set *restrict >IB<,>\n" "B< fd_set *restrict >IB<, fd_set *restrict >IB<,>\n" "B< const struct timespec *restrict >IB<,>\n" "B< const sigset_t *_NULL_baar restrict >IB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" "Feature Test Macro Requirements voor glibc (zie B(7)):" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B():" msgstr "B():" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " _POSIX_C_SOURCE E= 200112L\n" msgstr " _POSIX_C_SOURCE E= 200112L\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "BESCHRIJVING" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B: B() kan alleen bestandsindicator nummers monitoren " "die kleiner zijn dan B (1024)\\[em]een onmogelijk kleine limiet " "voor veel moderne applicaties\\[em]en deze limiet zal niet veranderen. Alle " "moderne applicaties gebruiken daarom beter B(2) of B(7), die " "geen last hebben van deze beperking." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() staat een programma toe meerdere bestandsindicators te " "monitoren, het wacht totdat een of meer bestandsindicators \"gereed\" worden " "voor een aantal klassen van Invoer/Uitvoer operaties (b.v. invoer mogelijk). " "Een bestandsindicator wordt gereed geacht als het mogelijk is de " "overeenkomende Invoer/Uitvoer operatie uit te voeren (b.v. B(2), of " "een voldoende kleine B(2)) zonder blokkering." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fd_set" msgstr "fd_set" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A structure type that can represent a set of file descriptors. According to " "POSIX, the maximum number of file descriptors in an I structure is " "the value of the macro B." msgstr "" "Een structure type dat een verzameling bestandsindicatoren kan " "representeren. Volgens POSIX, is de waarde van de macro B het " "maximum aantal bestandsindicatoren dat een I structure kan bevatten." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "File descriptor sets" msgstr "Bestandsindicator verzamelingen" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The principal arguments of B() zijn drie \"verzamelingen\" van " "bestandsindicators (gedeclareerd met het type I), dat de aanroeper " "toestaat te wachten op drie klassen van gebeurtenissen op de gespecificeerde " "verzameling van bestandsindicators. Elk van de I argumenten mag als " "NULL worden opgegeven als geen bestandsindicators moeten in de gaten worden " "gehouden voor de overeenkomende klasse van gebeurtenissen." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B: Upon return, each of the file descriptor sets is modified in " "place to indicate which file descriptors are currently \"ready\". Thus, if " "using B() in een lus wordt gebruikt I voorafgaand aan elke aanroep." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The contents of a file descriptor set can be manipulated using the following " "macros:" msgstr "" "De inhoud van een bestandsindicator verzameling kan aangepast worden door de " "volgende macro´s te gebruiken:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This macro clears (removes all file descriptors from) I. It should be " "employed as the first step in initializing a file descriptor set." msgstr "" "Deze macro wist (verwijdert alle bestandsindicators van) I. Hij " "moet worden gebruikt als een eerste stap bij het initialiseren van een " "bestandsindicator verzameling." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This macro adds the file descriptor I to I. Adding a file " "descriptor that is already present in the set is a no-op, and does not " "produce an error." msgstr "" "Deze macro voegt een bestandsindicator I toe aan I. Het " "toevoegen van een reeds bestaande indicator aan een verzameling doet niets, " "en produceert geen fout. " #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This macro removes the file descriptor I from I. Removing a file " "descriptor that is not present in the set is a no-op, and does not produce " "an error." msgstr "" "Deze macro verwijderd een bestandsindicator I van een I. " "Het verwijderen van een niet-aanwezige indicator in de verzameling doet " "niks, en produceert geen fout." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(), the B() macro can be " "used to test if a file descriptor is still present in a set. B() " "returns nonzero if the file descriptor I is present in I, and zero " "if it is not." msgstr "" "B() kan de B() " "macro worden gebruikt om te testen of een bestandsindicator nog aanwezig is " "in de verzameling. B() retourneert niet-nul als de " "bestandsindicator I aanwezig is in I, en nul als hij niet " "aanwezig is." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Arguments" msgstr "Argumenten" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The arguments of B() zij als volgt:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The file descriptors in this set are watched to see if they are ready for " "reading. A file descriptor is ready for reading if a read operation will " "not block; in particular, a file descriptor is also ready on end-of-file." msgstr "" "De bestandsindicators in deze verzameling worden bekeken om te zien of deze " "gereed zijn om te lezen. Een bestandsindicator is gereed om te lezen als een " "lees operatie niet zal blokkeren; in het bijzonder is een bestandsindicator " "ook gereed bij het bestand-einde." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "After B() is teruggekeerd zullen alle bestandsindicators in " "I worden gewist behalve die, die gereed zijn om te lezen. " #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The file descriptors in this set are watched to see if they are ready for " "writing. A file descriptor is ready for writing if a write operation will " "not block. However, even if a file descriptor indicates as writable, a " "large write may still block." msgstr "" "De bestandsindicators in deze verzameling worden bekeken om te zien of deze " "gereed zijn om te schrijven. Een bestandsindicator is gereed om te schrijven " "als een schrijf operatie niet zal blokkeren. Hoewel zelfs als een " "bestandsindicator aangeeft schrijfbaar te zijn, kan een grote schrijfactie " "toch blokkeren ." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "After B() is teruggekeerd zullen alle bestandsindicators in " "I worden gewist behalve die, die gereed zijn om te schrijven. " #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The file descriptors in this set are watched for \"exceptional " "conditions\". For examples of some exceptional conditions, see the " "discussion of B in B(2)." msgstr "" "De bestandsindicators in deze verzameling worden bekeken op \"uitzonderlijke " "condities\". Voor e" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "After B() is teruggekeerd zullen alle bestandsindicators in " "I worden gewist behalve die, waarvoor een uitzonderlijke conditie " "is opgetreden. " #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This argument should be set to the highest-numbered file descriptor in any " "of the three sets, plus 1. The indicated file descriptors in each set are " "checked, up to this limit (but see BUGS)." msgstr "" "Dit argument dient gezet te worden op de hoogst-genummerde " "bestandsindicator in enige van de drie verzamelingen, plus 1. De aangegeven " "bestandsindicators in elke verzameling worden gecontroleerd, tot deze limiet " "(let op, zie BUGS)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I argument is a I structure (shown below) that " "specifies the interval that B() moet blokkeren terwijl hij wacht op " "een bestandsindicator om \"gereed\" te worden. De aanroep zal blokkeren " "totdat ofwel:" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "a file descriptor becomes ready;" msgstr "een bestandsindicator wordt gereed;" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "the call is interrupted by a signal handler; or" msgstr "een aanroep werd onderbroken door een signaal afhandelaar; of" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "the timeout expires." msgstr "de tijdslimiet verliep." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Note that the I interval will be rounded up to the system clock " "granularity, and kernel scheduling delays mean that the blocking interval " "may overrun by a small amount." msgstr "" "Let op dat het I interval wordt afgerond op de systeem klok " "korrel, en de vertraging door het schedulen van de kernel betekent dat het " "blokkeer interval kan worden overschreden met een kleine hoeveelheid." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If both fields of the I structure are zero, then B() meteen terug. (Dit is bruikbaar om te pollen)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If I is specified as NULL, B() oneindig " "lang totdat een bestandsindicator \"gereed\" wordt." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "pselect()" msgstr "pselect()" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() system call allows an application to safely wait until " "either a file descriptor becomes ready or until a signal is caught." msgstr "" "De B() systeem aanroep staat een applicatie toe om veilig te " "wachten totdat een bestandsindicator gereed wordt of een signaal wordt " "ontvangen." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The operation of B() en B() is identiek, anders dan deze " "drie verschillen:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() gebruikt een tijdslimiet welk een I (met " "seconden en microseconden) is, terwijl B() een I " "is (met seconden en nanosecondsen)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() kan het I argument updaten om aan te geven hoeveel " "tijd er overbleef. B() verandert dit argument niet." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() heeft geen I argument en gedraagt zich als een " "B() aanroep met I gelijk aan NULL." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I is a pointer to a signal mask (see B(2)); if it is " "not NULL, then B() first replaces the current signal mask by the " "one pointed to by I, then does the \"select\" function, and then " "restores the original signal mask. (If I is NULL, the signal mask " "is not modified during the B() call.)" msgstr "" "I is een wijzer naar een signaal masker (zie B(2)); " "als het niet NULL is, dan vervangt B() eerst het huidige sigmaal " "masker door het masker aangewezen door I, voert vervolgens de " "\"select\" functie uit, en hersteld het het originele signaal masker. (Als " "I is NULL, dan wordt het signaal masker niet gewijzigd door de " "B() aanroep." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Other than the difference in the precision of the I argument, the " "following B() call:" msgstr "" "Anders dan het verschil in de precisie van het I argument, is " "de volgende B() aanroep:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "ready = pselect(nfds, &readfds, &writefds, &exceptfds,\n" " timeout, &sigmask);\n" msgstr "" "ready = pselect(nfds, &readfds, &writefds, &exceptfds,\n" " timeout, &sigmask);\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "is equivalent to I executing the following calls:" msgstr "equivalent aan het atomair uitvoeren van de volgende aanroepen:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "sigset_t origmask;\n" "\\&\n" "pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n" "ready = select(nfds, &readfds, &writefds, &exceptfds, timeout);\n" "pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n" msgstr "" "sigset_t origmask;\n" "\\&\n" "pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n" "ready = select(nfds, &readfds, &writefds, &exceptfds, timeout);\n" "pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The reason that B() is needed is that if one wants to wait for " "either a signal or for a file descriptor to become ready, then an atomic " "test is needed to prevent race conditions. (Suppose the signal handler sets " "a global flag and returns. Then a test of this global flag followed by a " "call of B() oneindig lang hangen als het " "signaal precies na de test aankwam maar precies vóór de aanroep. In " "tegenstelling hiermee staat B() toe om eerst het signaal te " "blokkeren, het ontvangen signaal af te handelen, en dat B() aan te " "roepen, met het gewenste I, daarmee de race te voorkomen. " #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "The timeout" msgstr "De tijdslimiet" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I argument for B() is een structure van het " "volgende type:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "struct timeval {\n" " time_t tv_sec; /* seconds */\n" " suseconds_t tv_usec; /* microseconds */\n" "};\n" msgstr "" "struct timeval {\n" " time_t tv_sec; /* seconden */\n" " suseconds_t tv_usec; /* microseconden */\n" "};\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The corresponding argument for B() is a B(3) structure." msgstr "" "Het overeenkomende argument voor B() is een B(3) " "structure:" #. .P - it is rumored that: #. On BSD, when a timeout occurs, the file descriptor bits are not changed. #. - it is certainly true that: #. Linux follows SUSv2 and sets the bit masks to zero upon a timeout. #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy #| msgid "" #| "On Linux, B()s in a " #| "loop without reinitializing it. Consider I to be undefined " #| "after B() modifies I to reflect the amount of time not " "slept; most other implementations do not do this. (POSIX.1 permits either " "behavior.) This causes problems both when Linux code which reads I " "is ported to other operating systems, and when code is ported to Linux that " "reuses a I for multiple B() " "returns." msgstr "" "Op Linux, wijzigt B() in een lus zonder deze te her-initialiseren. " "Beschouw I niet gedefinieerd nadat B() and B() return the number of file " "descriptors contained in the three returned descriptor sets (that is, the " "total number of bits that are set in I, I, " "I). The return value may be zero if the timeout expired before " "any file descriptors became ready." msgstr "" "Bij succes geven B() can fail with the error B " "if the system fails to allocate kernel-internal resources, rather than " "B as Linux does. POSIX specifies this error for B(2), but not " "for B() falen met de fout B " "als het systeem faalt om kernel-interne hulpbronnen toe te kennen, in plaats " "van B zoals Linux doet. POSIX specificeert deze fout voor " "B(2), maar niet voor B()" msgstr "B() and B() is not affected by the " "B flag." msgstr "" "De werking van B() in the main program. (To avoid possibly blocking when writing " "to a pipe that may be full or reading from a pipe that may be empty, " "nonblocking I/O is used when reading from and writing to the pipe.)" msgstr "" "Op systemen waar B() ontbreekt, betrouwbare (en meer overdraagbare) " "signaal trapping kan worden bereikt met de zelf-pijp truc. In deze truc " "schrijft een signaal afhandelaar een byte naar een pijp wiens andere einde " "wordt gemonitord door B() " "with all three sets empty, I zero, and a non-NULL I as a " "fairly portable way to sleep with subsecond precision." msgstr "" "Voor het verschijnen van B(3) gebruikte sommige code de aanroep van " "B() and the event notifications provided by " "B(2) and B(7):" msgstr "" "In de Linux kernel broncode vinden we de volgende definities die de " "overeenkomsten tussen de leesbare, schrijfbare en uitzondering condities " "notificaties van B() is closed in another " "thread, the result is unspecified. On some UNIX systems, B() returned " "and the I/O operation is performed). On Linux (and some other systems), " "closing the file descriptor in another thread has no effect on B() wordt gemonitord wordt " "gesloten in een andere thread, dan is het resultaat niet gespecificeerd. Op " "sommige UNIX systemen zal B() " "terug gaf en de Invoer/Uitvoer operatie werd uitgevoerd). Op Linux (en " "sommige andere systemen) heeft het sluiten van de bestandsindicator in een " "andere thread geen effect op B() should check all specified file descriptors " "in the three file descriptor sets, up to the limit I. However, the " "current implementation ignores any file descriptor in these sets that is " "greater than the maximum file descriptor number that the process currently " "has open. According to POSIX, any such file descriptor that is specified in " "one of the sets should result in the error B." msgstr "" "Volgens POSIX zou B(). This " "implementation remained vulnerable to the very race condition that " "B() was designed to prevent. Modern versions of glibc use the " "(race-free) B() system call on kernels where it is provided." msgstr "" "Vanaf glibc 2.1 voorzag glibc in een emulatie van B() die werd " "geïmplementeerd gebruikmakend van B(2) en B() may report a socket file descriptor as \"ready for " "reading\", while nevertheless a subsequent read blocks. This could for " "example happen when data has arrived but upon examination has the wrong " "checksum and is discarded. There may be other circumstances in which a file " "descriptor is spuriously reported as ready. Thus it may be safer to use " "B on sockets that should not block." msgstr "" "Op Linux kan B() also modifies I if the call is interrupted " "by a signal handler (i.e., the B error return). This is not " "permitted by POSIX.1. The Linux B() system call has the same " "behavior, but the glibc wrapper hides this behavior by internally copying " "the I to a local variable and passing that variable to the system " "call." msgstr "" "Op Linux wijzigt B() modifies I to reflect the amount of time not " "slept; most other implementations do not do this. (POSIX.1 permits either " "behavior.) This causes problems both when Linux code which reads I " "is ported to other operating systems, and when code is ported to Linux that " "reuses a I for multiple B() " "returns." msgstr "" "Op Linux, wijzigt B() in een lus zonder deze te her-initialiseren. " "Beschouw I niet gedefinieerd nadat B