# Danish translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Joe Hansen , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.29.1\n" "POT-Creation-Date: 2026-06-05 06:50+0200\n" "PO-Revision-Date: 2026-03-02 16:35+0100\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\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" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "wait" msgstr "wait" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8. februar 2026" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "Linux man-pages 6.18" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "NAVN" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "wait, waitpid, waitid - wait for process to change state" msgstr "wait, waitpid, waitid - vent på at processen ændrer tilstand" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "BIBLIOTEK" #. 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 "C-standardbibliotek (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 "SYNOPSIS" #. 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/wait.hE>\n" msgstr "B<#include Esys/wait.hE>\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<);>\n" "BIB<, int *_Nullable >IB<, int >IB<);>\n" msgstr "" "BIB<);>\n" "BIB<, int *_Nullable >IB<, int >IB<);>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "BIB<, id_t >IB<, siginfo_t *>IB<, int >IB<);>\n" " /* This is the glibc and POSIX interface; see\n" " VERSIONS for information on the raw system call. */\n" msgstr "" "BIB<, id_t >IB<, siginfo_t *>IB<, int >IB<);>\n" " /* Dette er glibc- og POSIX-grænsefladen; se\n" " VERSIONS for information om det rå systemkald. */\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 for glibc (se 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():" #. (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" " Since glibc 2.26:\n" " _XOPEN_SOURCE E= 500 || _POSIX_C_SOURCE E= 200809L\n" " glibc 2.25 and earlier:\n" " _XOPEN_SOURCE\n" " || /* Since glibc 2.12: */ _POSIX_C_SOURCE E= 200809L\n" " || /* glibc E= 2.19: */ _BSD_SOURCE\n" msgstr "" " Siden glibc 2.26:\n" " _XOPEN_SOURCE E= 500 || _POSIX_C_SOURCE E= 200809L\n" " glibc 2.25 og tidligere:\n" " _XOPEN_SOURCE\n" " || /* Siden glibc 2.12: */ _POSIX_C_SOURCE E= 200809L\n" " || /* glibc E= 2.19: */ _BSD_SOURCE\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 "BESKRIVELSE" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "All of these system calls are used to wait for state changes in a child of " "the calling process, and obtain information about the child whose state has " "changed. A state change is considered to be: the child terminated; the " "child was stopped by a signal; or the child was resumed by a signal. In the " "case of a terminated child, performing a wait allows the system to release " "the resources associated with the child; if a wait is not performed, then " "the terminated child remains in a \"zombie\" state (see NOTES below)." msgstr "" "Alle disse systemkald bruges til at vente på tilstandsændringer i en " "underproces af den kaldende proces, og hente information om underprocessen, " "hvis tilstand har ændret sig. En tilstandsændring anses for at være: " "underprocessen afsluttedes; underprocessen blev stoppet af et signal; eller " "underprocessen blev genoptaget af et signal. I tilfældet med en afsluttet " "underproces vil udførelse af en wait gøre det muligt for systemet at frigive " "ressourcerne associeret med underprocessen; hvis en wait ikke udføres, så " "bliver den afsluttede underproces i en »zombie«-tilstand (se NOTES nedenfor)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If a child has already changed state, then these calls return immediately. " "Otherwise, they block until either a child changes state or a signal handler " "interrupts the call (assuming that system calls are not automatically " "restarted using the B flag of B(2)). In the " "remainder of this page, a child whose state has changed and which has not " "yet been waited upon by one of these system calls is termed I." msgstr "" "Hvis en underproces allerede har ændret tilstand, så returneres disse kald " "øjeblikkeligt. ellers blokerer de indtil en underproces ændrer tilstand " "eller en signalhåndtering afbryder kaldet (under antagelse af at " "systemkaldene ikke automatisk genstartes via flaget B for " "B(2)). På resten af denne side vil en underproces, hvis tilstand " "har ændret sig og endnu ikke har modtaget en wait af et af disse systemkald " "blive kaldt for I." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "wait() and waitpid()" msgstr "wait() og waitpid()" #. 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 suspends execution of the calling thread until " "one of its children terminates. The call I is equivalent to:" msgstr "" "Systemkaldet B() suspenderer afviklingen af den kaldende tråd indtil " "en af dens underprocesser afsluttes. Kaldet I svarer til:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "waitpid(-1, &wstatus, 0);\n" msgstr "waitpid(-1, &wstatus, 0);\n" #. 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 suspends execution of the calling thread until " "a child specified by I argument has changed state. By default, " "B() waits only for terminated children, but this behavior is " "modifiable via the I argument, as described below." msgstr "" "Systemkaldet B() suspenderer afviklingen af den kaldende tråd " "indtil en underproces angivet af argumentet I har ændret tilstand. Som " "standard venter B() kun på afsluttede underprocesser, men denne " "opførsel kan ændres via argumentet I, som beskrevet nedenfor." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The value of I can be:" msgstr "Værdien af I kan være:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "E B<-1>" msgstr "E B<-1>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "meaning wait for any child process whose process group ID is equal to the " "absolute value of I." msgstr "" "vent på nehver underproces hvis procesgruppe-id svarer til den absolutte " "værdi for I." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<-1>" msgstr "B<-1>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "meaning wait for any child process." msgstr "vent på enhver underproces." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<0>" msgstr "B<0>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "meaning wait for any child process whose process group ID is equal to that " "of the calling process at the time of the call to B()." msgstr "" "vent på enhver underproces hvis procesgruppe-id svarer til den kaldende " "proces på tidspunktet for kaldet til B()." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "E B<0>" msgstr "E B<0>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "meaning wait for the child whose process ID is equal to the value of I." msgstr "vent på underprocessen hvis proces-id svarer til værdien for I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The value of I is an OR of zero or more of the following constants:" msgstr "" "Værdien af I er en OR af nul eller flere af de følgende konstanter:" #. 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 "return immediately if no child has exited." msgstr "returner øjeblikkeligt hvis ingen underproces er afsluttet." #. 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 "" "also return if a child has stopped (but not traced via B(2)). " "Status for I children which have stopped is provided even if this " "option is not specified." msgstr "" "returnerer også hvis en underproces er stoppet (men ikke sporet via " "B(2)). Status for I-underprocesser, der er stoppet tilbydes " "selv om denne mulighed ikke er angivet." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.10)" msgstr "B (siden Linux 2.6.10)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "also return if a stopped child has been resumed by delivery of B." msgstr "" "returnerer også hvis en stoppet underproces er blevet genoptaget ved " "levering af B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "(For Linux-only options, see below.)" msgstr "(For tilvalg kun for Linux, se nedenfor)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If I is not NULL, B() and B() store status " "information in the I to which it points. This integer can be inspected " "with the following macros (which take the integer itself as an argument, not " "a pointer to it, as is done in B() and B()!):" msgstr "" "Hvis I er NULL så lagrer B() og B() " "statusinformation i den I der peges på. Dette heltal kan inspiceres med " "de følgende makroer (der bruger selve heltallet som et argument, ikke en " "tekstsøger, som det gøres i B() og B()!):" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<)>" msgstr "BIB<)>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "returns true if the child terminated normally, that is, by calling " "B(3) or B<_exit>(2), or by returning from main()." msgstr "" "returnerer true (sand) hvis underprocesen blev afsluttet normalt, det vil " "sige, ved at kalde B(3) eller B<_exit>(2), eller ved at returnere fra " "main()." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<)>" msgstr "BIB<)>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "returns the exit status of the child. This consists of the least " "significant 8 bits of the I argument that the child specified in a " "call to B(3) or B<_exit>(2) or as the argument for a return " "statement in main(). This macro should be employed only if B " "returned true." msgstr "" "returnerer afslutningsstatus for underprocessen. Denne består af de mindst " "signifikante 8 bit for argumentet I, som underprocessen angav i et " "kald til B(3) eller B<_exit>(2) eller som argumentet for et " "returudtryk i main(). Denne makro bør kun udrulles hvis B " "returnerede true (sand)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<)>" msgstr "BIB<)>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "returns true if the child process was terminated by a signal." msgstr "" "returnerer true (sand) hvis underprocessen blev afsluttet af et signal." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<)>" msgstr "BIB<)>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "returns the number of the signal that caused the child process to " "terminate. This macro should be employed only if B returned " "true." msgstr "" "returnerer nummeret for signalet, der medførte at underprocessen blev " "afsluttet. Denne makro bør kun anvendes hvis B returnerede true " "(sand)." #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "BIB<)>I< >\\f[R]// POSIX.1-2024\\fR" msgstr "BIB<)>I< >\\f[R]// POSIX.1-2024\\fR" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "returns true if the child produced a core dump (see B(5)). This macro " "should be employed only if B returned true." msgstr "" "returnerer true (sand) hvis underprocessen fremstillede et kernedump (se " "B(5)). Denne makro skal kun bruges hvis B returnede true." #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "BIB<)>I< >\\f[R]// POSIX.1-2024\\fR" msgstr "BIB<)>I< >\\f[R]// POSIX.1-2024\\fR" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "returns true if the child process was stopped by delivery of a signal; this " "is possible only if the call was done using B or when the child " "is being traced (see B(2))." msgstr "" "returnerer true (sand) hvis underprocessen blev stoppet af en levering af et " "signal; dette er kun muligt hvis kaldet blev udført via B eller " "når underprocessen bliver sporet (se B(2))." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<)>" msgstr "BIB<)>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "returns the number of the signal which caused the child to stop. This macro " "should be employed only if B returned true." msgstr "" "returnerer nummeret for signalet som fik underprocessen til at stoppe. Denne " "makro bør kun bruges hvis B returnerede true." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<)>" msgstr "BIB<)>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "(since Linux 2.6.10) returns true if the child process was resumed by " "delivery of B." msgstr "" "(siden Linux 2.6.10) returnerer true (sand) hvis underprocessen blev " "genoptaget ved levering af B." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "waitid()" msgstr "waitid()" #. 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 (available since Linux 2.6.9) provides more " "precise control over which child state changes to wait for." msgstr "" "Systemkaldet B() (tilgængelig siden Linux 2.6.9) tilbyder mere " "præcis kontrol over hvilke tilstandændringer for underprocesser, der skal " "ventes på." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I and I arguments select the child(ren) to wait for, as " "follows:" msgstr "" "Argumenterne I og I vælger underprocesserne, der skal ventes på, " "som følgende:" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "I == \\f[B]P_PID\\fR" msgstr "I == \\f[B]P_PID\\fR" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Wait for the child whose process ID matches I." msgstr "Vent på underprocessen hvis proces-id matcher I." #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "I == \\f[B]P_PIDFD\\fR (since Linux 5.4)" msgstr "I == \\f[B]P_PIDFD\\fR (siden Linux 5.4)" #. commit 3695eae5fee0605f316fbaad0b9e3de791d7dfaf #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Wait for the child referred to by the PID file descriptor specified in " "I. (See B(2) for further information on PID file " "descriptors.)" msgstr "" "Vent for underprocessen refereret til af PID-fildeskriptoren angivet i " "I. (Se B(2) for yderligere information om PID-" "fildeskriptorer)." #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "I == \\f[B]P_PGID\\fR" msgstr "I == \\f[B]P_PGID\\fR" #. commit 821cc7b0b205c0df64cce59aacc330af251fa8f7 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Wait for any child whose process group ID matches I. Since Linux 5.4, " "if I is zero, then wait for any child that is in the same process group " "as the caller's process group at the time of the call." msgstr "" "Vent på en underproces hvis procesgruppe-id machter I. Siden Linux 5.4, " "hvis I er nul, så vent på eventuelle underprocesser, der er i den samme " "procesgruppe som kalderens procesgruppe på tidspunktet for kaldet." #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "I == \\f[B]P_ALL\\fR" msgstr "I == \\f[B]P_ALL\\fR" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Wait for any child; I is ignored." msgstr "Vent på en eventuel underproces; I bliver ignoreret." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The child state changes to wait for are specified by ORing one or more of " "the following flags in I:" msgstr "" "Underprocestilstanden ændres til vent på er angivet af ORing en eller flere " "af de følgende flag i I:" #. 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 "Wait for children that have terminated." msgstr "Vent på underprocesser der er afsluttet." #. 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 "Wait for children that have been stopped by delivery of a signal." msgstr "Vent på underprocesser der er blevet stoppet af en signallevering." #. 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 "" "Wait for (previously stopped) children that have been resumed by delivery of " "B." msgstr "" "Vent på (tidligere stoppet) underproces, der er blevet genoptaget ved " "levering af B." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The following flags may additionally be ORed in I:" msgstr "De følgende flag kan yderligere blive ORed i I:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "As for B()." msgstr "Som for B()." #. 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 "" "Leave the child in a waitable state; a later wait call can be used to again " "retrieve the child status information." msgstr "" "Efterlad underprocessen i en ventende tilstand; et senere vente-kald kan " "bruges til igen at hente underprocessens statusinformation." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Upon successful return, B() fills in the following fields of the " "I structure pointed to by I:" msgstr "" "Ved succesfuld returnering udfylder B() de følgende felter i " "strukturen I peget mod af I:" #. 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 process ID of the child." msgstr "Proces-id for underprocessen." #. 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 real user ID of the child. (This field is not set on most other " "implementations.)" msgstr "" "Det reelle bruger-id for underprocessen. (Dette felt er ikke angivet på de " "fleste implementeriner)." #. 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 "Always set to B." msgstr "Angiv altdi som B." #. 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 "" "Either the exit status of the child, as given to B<_exit>(2) (or " "B(3)), or the signal that caused the child to terminate, stop, or " "continue. The I field can be used to determine how to interpret " "this field." msgstr "" "Enten afslutningsstatus for underprocessen, som angivet til B<_exit>(2) " "(eller B(3)), eller signalet der medførte at underprocessen blev " "afsluttet, stoppet eller fortsatte. Feltet I kan bruges til at " "bestemme hvordan dette felt skal fortolkes." #. 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 "" "Set to one of: B (child called B<_exit>(2)); B " "(child killed by signal); B (child killed by signal, and dumped " "core); B (child stopped by signal); B (traced " "child has trapped); or B (child continued by B)." msgstr "" "Angiv til en af: B (underproces kaldt B<_exit>(2)); " "B (underproces dræbt af signal); B (underproces " "dræbt af signal, og dumpet kerne); B (underproces stoppet af " "signal); B (sporet underproces er fanget); eller " "B (underproces forsat af B)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B was specified in I and there were no children in a " "waitable state, then B() returns 0 immediately and the state of the " "I structure pointed to by I depends on the " "implementation. To (portably) distinguish this case from that where a child " "was in a waitable state, zero out the I field before the call and " "check for a nonzero value in this field after the call returns." msgstr "" "Hvis B blev angivet i I og der ingen underprocesser var i " "en ventende tilstand, så returnerer B() 0 øjeblikkeligt og " "tilstanden for strukturen I pegende mod I afhænger af " "implementeringen. For (flytbart) at skelne dette tilfælde fra hvor en " "underproces var i en ventende tilstand, nulstil feltet I før kaldet " "og tjek for en værdi forskellig fra nul i dettte felt efter kaldet " "returnerer." #. POSIX.1-2001 leaves this possibility unspecified; most #. implementations (including Linux) zero out the structure #. in this case, but at least one implementation (AIX 5.1) #. does not -- MTK Nov 04 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "POSIX.1-2008 Technical Corrigendum 1 (2013) adds the requirement that when " "B is specified in I and there were no children in a " "waitable state, then B() should zero out the I and " "I fields of the structure. On Linux and other implementations " "that adhere to this requirement, it is not necessary to zero out the " "I field before calling B(). However, not all " "implementations follow the POSIX.1 specification on this point." msgstr "" "POSIX.1-2008 Technical Corrigendum 1 (2013) tilføjer kravet at når " "B er angivet i I og der er ingen underproces i en ventende " "tilstand, så bør B() nulstille felterne I og I for " "strukturen. På Linux og andre implementeringer, der overholder dette krav, " "er det ikke nødvendigt at nulstille feltet I før B() kaldes. " "Alle implementeringer følger dog ikke POSIX.1-specifikationen på dette " "tidspunkt." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "RETURVÆRDI" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(): on success, returns the process ID of the terminated child; on " "failure, -1 is returned." msgstr "" "B(): ved succes, returneres proces-id'et for den afsluttede " "underproces; ved fejl returneres -1." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(): on success, returns the process ID of the child whose state " "has changed; if B was specified and one or more child(ren) " "specified by I exist, but have not yet changed state, then 0 is " "returned. On failure, -1 is returned." msgstr "" "B(): ved succes returneres proces-id'et for underprocessen hvis " "tilstand har ændret sig; hvis B blev angivet og en eller flere " "underprocesser angivet af I findes, men endnu ikke har ændret tilstand, " "så returneres 0. Ved fejl returneres -1." #. FIXME As reported by Vegard Nossum, if infop is NULL, then waitid() #. returns the PID of the child. Either this is a bug, or it is intended #. behavior that needs to be documented. See my Jan 2009 LKML mail #. "waitid() return value strangeness when infop is NULL". #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(): returns 0 on success or if B was specified and no " "child(ren) specified by I has yet changed state; on failure, -1 is " "returned." msgstr "" "B(): returnerer 0 ved succes eller hvis B var angivet og " "ingen underproces angivet af I endnu ikke har ændret tilstand; ved fejl " "returneres -1." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "On failure, each of these calls sets I to indicate the error." msgstr "Ved fejl, angiver hvert af disse kald I for at indikere fejlen." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "FEJL" #. 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 "" "The PID file descriptor specified in I is nonblocking and the process " "that it refers to has not terminated." msgstr "" "PID-fildeskriptoren angivet i I er ikkeblokerende og processen den " "referer til er ikke afsluttet." #. 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 "" "(for B()) The calling process does not have any unwaited-for children." msgstr "" "(for B()) Den kaldende proces har ingen ej ventet for underproces." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "(for B() or B()) The process specified by I " "(B()) or I and I (B()) does not exist or is " "not a child of the calling process. (This can happen for one's own child if " "the action for B is set to B. See also the I section about threads.)" msgstr "" "(for B() eller B()) Processen angivet af I " "(B()) eller I og I (B()) findes ikke eller er " "ikke en underproces af den kaldende proces. (Dette kan ske for ens egen " "underproces hvis handlingen for B er angivet til B. Se " "også afsnittet I om tråde)." #. 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 was not set and an unblocked signal or a B was caught; " "see B(7)." msgstr "" "B var ikke angivet og et ej blokeret signal eller en B " "blev opfanget; se B(7)." #. 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 "The I argument was invalid." msgstr "Argumentet I var ugyldigt." #. 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 "(for B() or B()) I is equal to B." msgstr "(for B() eller B()) svarer I til B." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "VERSIONER" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "C library/kernel differences" msgstr "C-bibliotek/kerne-forskelle" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() is actually a library function that (in glibc) is implemented as " "a call to B(2)." msgstr "" "B() er faktisk en biblioteksfunktion der (i glibc) er implementeret " "som et kald til B(2)." #. e.g., i386 has the system call, but not x86-64 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On some architectures, there is no B() system call; instead, this " "interface is implemented via a C library wrapper function that calls " "B(2)." msgstr "" "På nogle arkitekturer er det intet B()-systemkald; i stedet for er " "denne grænseflade implementeret via en C-biblioteksomslagsfunktion, der " "kalder B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The raw B() system call takes a fifth argument, of type I. If this argument is non-NULL, then it is used to return " "resource usage information about the child, in the same manner as " "B(2). See B(2) for details." msgstr "" "Det rå systemkald B() anvender et femte argument, af typen I. Hvis dette argument er forskellig fra NULL, så bruges det til " "at returnere information om ressourceforbrug for underprocessen, på samme " "måde som B(2). Se B(2) for detaljer." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "STANDARDER" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "POSIX.1-2024." msgstr "POSIX.1-2024." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "HISTORIK" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "SVr4, 4.3BSD, POSIX.1-2001." msgstr "SVr4, 4.3BSD, POSIX.1-2001." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "NOTER" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A child that terminates, but has not been waited for becomes a \"zombie\". " "The kernel maintains a minimal set of information about the zombie process " "(PID, termination status, resource usage information) in order to allow the " "parent to later perform a wait to obtain information about the child. As " "long as a zombie is not removed from the system via a wait, it will consume " "a slot in the kernel process table, and if this table fills, it will not be " "possible to create further processes. If a parent process terminates, then " "its \"zombie\" children (if any) are adopted by B(1), (or by the " "nearest \"subreaper\" process as defined through the use of the B(2) " "B operation); B(1) automatically performs a " "wait to remove the zombies." msgstr "" "En underproces der afsluttes, men der ikke er blevet ventet på bliver en " "»zombie«. Kernen vedligeholder et minimum af information om zombieprocessen " "(PID, afslutningsstatus, information om ressourceforbrug) for at " "overprocessen senere kan udføre en wait for at få information om " "underprocessen. Så længe en zombie ikke fjernes fra systemet via en wait, så " "vil den bruge en plads i kerneprocestabellen og hvis denne tabel bliver " "fyldt, så vil der ikke længere kunne oprettes yderligere processer. Hvis en " "overproces afsluttes, så bliver dens (hvis nogen) »zombieprocesser« " "adopteret af B(1), (eller af den nærmeste »subreaper«-proces som " "defineret via brugen af B(2) B-operationen); " "B(1) udfører automatisk en wait for at fjerne zombierne." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "POSIX.1-2001 specifies that if the disposition of B is set to " "B or the B flag is set for B (see " "B(2)), then children that terminate do not become zombies and a " "call to B() or B() will block until all children have " "terminated, and then fail with I set to B. (The original " "POSIX standard left the behavior of setting B to B " "unspecified. Note that even though the default disposition of B is " "\"ignore\", explicitly setting the disposition to B results in " "different treatment of zombie process children.)" msgstr "" "POSIX.1-2001 angiver at hvis dispositionen af B er angivet til " "B eller flaget B er angivet for B (se " "B(2)), så bliver underprocessen, der afsluttes, ikke en zombie og " "et kald til B() eller B() vil blokere indtil alle " "underprocesser er afsluttet, og så fejle med I angivet til B. " "(Den oprindelige POSIX-standard efterlod opførelsen med at angive B " "til B uspecificeret. Bemærk at selvom standarddispositionen for " "B er »ignore« (ignorer), så medfører eksplicit angivelse af " "dispositionen til B forskellig behandling af zombieunderprocesser)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Linux 2.6 conforms to the POSIX requirements. However, Linux 2.4 (and " "earlier) does not: if a B() or B() call is made while " "B is being ignored, the call behaves just as though B were " "not being ignored, that is, the call blocks until the next child terminates " "and then returns the process ID and status of that child." msgstr "" "Linux 2.6 overholder POSIX-kravene. Linux 2.4 (og tidligere) gør dog ikke: " "hvis et B()- eller B()-kald laves mens B bliver " "ignoreret, så opfører kaldet sig som at B ikke blev ignoreret, det " "vil sige, kaldet blokeres indtil den næste underproces afsluttes og " "returnerer så proces-id'et og status for den underproces." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux notes" msgstr "Linux-noter" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the Linux kernel, a kernel-scheduled thread is not a distinct construct " "from a process. Instead, a thread is simply a process that is created using " "the Linux-unique B(2) system call; other routines such as the " "portable B(3) call are implemented using B(2). " "Before Linux 2.4, a thread was just a special case of a process, and as a " "consequence one thread could not wait on the children of another thread, " "even when the latter belongs to the same thread group. However, POSIX " "prescribes such functionality, and since Linux 2.4 a thread can, and by " "default will, wait on children of other threads in the same thread group." msgstr "" "I Linuxkernen er en kerneplanlagt tråd ikke en distinkt konstruktion fra en " "proces. I stedet er en tråd bare en proces, der oprettes via det Linux-" "unikke systemkald B(2); andre rutiner såsom det flytbare kald " "B(3) implementeres via B(2). Før Linux 2.4 var en " "tråd bare en speciel proces og som konsekvens kunne en tråd ikke vente på " "underprocessen i en anden tråd, selv om den sidstnævnte tilhører den samme " "trådgruppe. POSIX foreskriver dog sådan funktionalitet, og siden Linux 2.4 " "kan en tråd, og vil som standard, vente på underprocesser i andre tråde i " "den samme trådgruppe." #. commit 91c4e8ea8f05916df0c8a6f383508ac7c9e10dba #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following Linux-specific I are for use with children created " "using B(2); they can also, since Linux 4.7, be used with B():" msgstr "" "De følgende Linux-specifikke I er for brug med underproces oprettet " "via B(2); de kan også, siden Linux 4.7, bruges med B():" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<__WCLONE>" msgstr "B<__WCLONE>" #. since 0.99pl10 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Wait for \"clone\" children only. If omitted, then wait for \"non-clone\" " "children only. (A \"clone\" child is one which delivers no signal, or a " "signal other than B to its parent upon termination.) This option " "is ignored if B<__WALL> is also specified." msgstr "" "Vent kun på »klon«-underproces. Hvis udeladt så vent kun på »ikke-klon«-" "underproces. (En »klon«-underproces er en der ikke leverer et signal, eller " "et signal udover B til sin overproces ved afslutning). Dette " "tilvalg ignoreres hvis B<__WALL> også er angivet." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<__WALL> (since Linux 2.4)" msgstr "B<__WALL> (siden Linux 2.4)" #. since patch-2.3.48 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Wait for all children, regardless of type (\"clone\" or \"non-clone\")." msgstr "Vent på alle underprocesser, uanset typen (»clone« eller »non-clone«)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<__WNOTHREAD> (since Linux 2.4)" msgstr "B<__WNOTHREAD> (siden Linux 2.4)" #. since patch-2.4.0-test8 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Do not wait for children of other threads in the same thread group. This " "was the default before Linux 2.4." msgstr "" "Vent ikke på underprocesser for andre tråde i den samme trådgruppe. Dette " "var standarden før Linux 2.4." #. commit bf959931ddb88c4e4366e96dd22e68fa0db9527c #. prevents cases where an unreapable zombie is created if #. /sbin/init doesn't use __WALL. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Since Linux 4.7, the B<__WALL> flag is automatically implied if the child is " "being ptraced." msgstr "" "Siden Linux 4.7, antages flaget B<__WALL> automatisk hvis underprocessen " "bliver ptraced." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "FEJL" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "According to POSIX.1-2008, an application calling B() must ensure " "that I points to a I structure (i.e., that it is a non-" "null pointer). On Linux, if I is NULL, B() succeeds, and " "returns the process ID of the waited-for child. Applications should avoid " "relying on this inconsistent, nonstandard, and unnecessary feature." msgstr "" "Jævnfør POSIX.1-2008 skal et program der kalder B() sikre at " "I peger på en I-struktur (dvs. at det er tekstsøger " "forskellig fra nul). På Linux, hvis I er nul, så lykkes B() " "og returnerer proces-id'et for den ventet på-underproces. Programmer bør " "undgå at afhænge af denne inkonsistens, uden for standarden og unødvendige " "funktion." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "EKSEMPLER" #. fork.2 refers to this example program. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following program demonstrates the use of B(2) and B(). " "The program creates a child process. If no command-line argument is " "supplied to the program, then the child suspends its execution using " "B(2), to allow the user to send signals to the child. Otherwise, if " "a command-line argument is supplied, then the child exits immediately, using " "the integer supplied on the command line as the exit status. The parent " "process executes a loop that monitors the child using B(), and uses " "the W*() macros described above to analyze the wait status value." msgstr "" "Det følgende program demonstrerer brugen af B(2) og B(). " "Programmet opretter en underproces. Hvis intet kommandolinjeargument leveres " "til programmet, så suspenderer underprocessen dens afvikling via " "B(2), for at tillade at brugeren kan sende signaler til " "underprocessen. Ellers, hvis et kommandolinjeargument anvendes, så afsluttes " "underprocessen øjeblikkeligt, via heltalet angivet på kommandolinjen som " "afslutningsstatus. Overprocessen afvikler en løkke, der overvåger " "underprocessen via B(), og bruger W*()-makroer beskrevet ovenfor " "til at analysere wait-statusværdien." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The following shell session demonstrates the use of the program:" msgstr "Den følgende skalsession demonstrerer brugen af programmet:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "$B< ./a.out &>\n" "Child PID is 32360\n" "[1] 32359\n" "$B< kill -STOP 32360>\n" "stopped by signal 19\n" "$B< kill -CONT 32360>\n" "continued\n" "$B< kill -TERM 32360>\n" "killed by signal 15\n" "[1]+ Done ./a.out\n" "$\n" msgstr "" "$B< ./a.out &>\n" "Child PID is 32360\n" "[1] 32359\n" "$B< kill -STOP 32360>\n" "stopped by signal 19\n" "$B< kill -CONT 32360>\n" "continued\n" "$B< kill -TERM 32360>\n" "killed by signal 15\n" "[1]+ Done ./a.out\n" "$\n" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Program source" msgstr "Programkilde" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/types.hE\n" "#include Esys/wait.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int wstatus;\n" " pid_t cpid, w;\n" "\\&\n" " cpid = fork();\n" " if (cpid == -1) {\n" " perror(\"fork\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (cpid == 0) { /* Code executed by child */\n" " printf(\"Child PID is %jd\\[rs]n\", (intmax_t) getpid());\n" " if (argc == 1)\n" " pause(); /* Wait for signals */\n" " _exit(atoi(argv[1]));\n" "\\&\n" " } else { /* Code executed by parent */\n" " do {\n" " w = waitpid(cpid, &wstatus, WUNTRACED | WCONTINUED);\n" " if (w == -1) {\n" " perror(\"waitpid\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (WIFEXITED(wstatus)) {\n" " printf(\"exited, status=%d\\[rs]n\", WEXITSTATUS(wstatus));\n" " } else if (WIFSIGNALED(wstatus)) {\n" " printf(\"killed by signal %d\\[rs]n\", WTERMSIG(wstatus));\n" " } else if (WIFSTOPPED(wstatus)) {\n" " printf(\"stopped by signal %d\\[rs]n\", WSTOPSIG(wstatus));\n" " } else if (WIFCONTINUED(wstatus)) {\n" " printf(\"continued\\[rs]n\");\n" " }\n" " } while (!WIFEXITED(wstatus) && !WIFSIGNALED(wstatus));\n" " exit(EXIT_SUCCESS);\n" " }\n" "}\n" msgstr "" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/types.hE\n" "#include Esys/wait.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int wstatus;\n" " pid_t cpid, w;\n" "\\&\n" " cpid = fork();\n" " if (cpid == -1) {\n" " perror(\"fork\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (cpid == 0) { /* Kode afviklet af underproces */\n" " printf(\"Child PID is %jd\\[rs]n\", (intmax_t) getpid());\n" " if (argc == 1)\n" " pause(); /* Vent på signaler */\n" " _exit(atoi(argv[1]));\n" "\\&\n" " } else { /* Kode afviklet af overproces */\n" " do {\n" " w = waitpid(cpid, &wstatus, WUNTRACED | WCONTINUED);\n" " if (w == -1) {\n" " perror(\"waitpid\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (WIFEXITED(wstatus)) {\n" " printf(\"exited, status=%d\\[rs]n\", WEXITSTATUS(wstatus));\n" " } else if (WIFSIGNALED(wstatus)) {\n" " printf(\"killed by signal %d\\[rs]n\", WTERMSIG(wstatus));\n" " } else if (WIFSTOPPED(wstatus)) {\n" " printf(\"stopped by signal %d\\[rs]n\", WSTOPSIG(wstatus));\n" " } else if (WIFCONTINUED(wstatus)) {\n" " printf(\"continued\\[rs]n\");\n" " }\n" " } while (!WIFEXITED(wstatus) && !WIFSIGNALED(wstatus));\n" " exit(EXIT_SUCCESS);\n" " }\n" "}\n" #. SRC END #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "SE OGSÅ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B<_exit>(2), B(2), B(2), B(2), B(2), " "B(2), B(2), B(2), B(3), " "B(5), B(7), B(7)" msgstr "" "B<_exit>(2), B(2), B(2), B(2), B(2), " "B(2), B(2), B(2), B(3), " "B(5), B(7), B(7)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-15" msgstr "15. juni 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "Linux man-pages 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "C-standardbibliotek (I, I<-lc>)" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "BIB<, id_t >IB<, siginfo_t *>IB<, int >IB<);>\n" " /* This is the glibc and POSIX interface; see\n" " NOTES for information on the raw system call. */\n" msgstr "" "BIB<, id_t >IB<, siginfo_t *>IB<, int >IB<);>\n" " /* Dette er glibc- og POSIX-grænsefladen; se\n" " NOTES for information om det rå systemkald. */\n" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "BIB<)>" msgstr "BIB<)>" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "This macro is not specified in POSIX.1-2001 and is not available on some " "UNIX implementations (e.g., AIX, SunOS). Therefore, enclose its use inside " "I<#ifdef WCOREDUMP ... #endif>." msgstr "" "Denne makro er ikke angivet i POSIX.1-2001 og er derfor ikke tilgængelig på " "nogle UNIX-implementeringer (f.eks. AIX, SunOS). Omslut derfor dens brug i " "I<#ifdef WCOREDUMP ... #endif>." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "BIB<)>" msgstr "BIB<)>" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I == B" msgstr "I == B" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I == B (since Linux 5.4)" msgstr "I == B (siden Linux 5.4)" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I == B" msgstr "I == B" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I == B" msgstr "I == B" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "(for B() or B()) The process specified by I " "(B()) or I and I (B()) does not exist or is " "not a child of the calling process. (This can happen for one's own child if " "the action for B is set to B. See also the I " "section about threads.)" msgstr "" "(for B() eller B()) Processen angivet af I " "(B()) eller I og I (B()) findes ikke eller er " "ikke en underproces af den kaldende proces. (Dette kan ske for ens egen " "underproces hvis handlingen for B er angivet til B. Se " "også afsnittet I om tråde)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "POSIX.1-2008." msgstr "POSIX.1-2008." #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-07-23" msgstr "23. juli 2024" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "Linux man-pages 6.13" #. type: Plain text #: fedora-44 fedora-rawhide #, no-wrap msgid "" "BIB<, id_t >IB<, siginfo_t *>IB<, int >IB<);>\n" " /* This is the glibc and POSIX interface; see\n" " VERSIONS for information on the raw system call. */\n" msgstr "" "BIB<, id_t >IB<, siginfo_t *>IB<, int >IB<);>\n" " /* Dette er glibc- og POSIX-grænsefladen; se\n" " VERSIONS for information om det rå systemkald. */\n" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "Linux man-pages 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "Linux man-pages (ej udgivet)"