Debian Codegraph @

po/da/man2/accept.2.po

raw
1 # Danish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Joe Dalton <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.29.1\n"
8 "POT-Creation-Date: 2026-06-05 06:17+0200\n"
9 "PO-Revision-Date: 2026-02-18 18:37+0100\n"
10 "Last-Translator: Joe Dalton <[email protected]>\n"
11 "Language-Team: Danish <[email protected]>\n"
12 "Language: da\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
20 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
21 #, no-wrap
22 msgid "accept"
23 msgstr "accept"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2025-10-29"
30 msgstr "29. oktober 2025"
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr "Linux man-pages 6.18"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "NAVN"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "accept, accept4 - accept a connection on a socket"
49 msgstr "accept, accept4 - accepter en forbindelse på en sokkel"
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "LIBRARY"
56 msgstr "BIBLIOTEK"
57
58 #. type: Plain text
59 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
60 #: opensuse-leap-16-1 opensuse-tumbleweed
61 msgid "Standard C library (I<libc>,\\ I<-lc>)"
62 msgstr "C-standardbibliotek (I<libc>,\\ I<-lc>)"
63
64 #. type: SH
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "SYNOPSIS"
69 msgstr "SYNOPSIS"
70
71 #. type: Plain text
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "B<#include E<lt>sys/socket.hE<gt>>\n"
76 msgstr "B<#include E<lt>sys/socket.hE<gt>>\n"
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid ""
83 "B<int accept(int >I<sockfd>B<, struct sockaddr *_Nullable restrict >I<addr>B<,>\n"
84 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
85 msgstr ""
86 "B<int accept(int >I<sockfd>B<, struct sockaddr *_Nullable restrict >I<addr>B<,>\n"
87 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, no-wrap
93 msgid ""
94 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
95 "B<#include E<lt>sys/socket.hE<gt>>\n"
96 msgstr ""
97 "B<#define _GNU_SOURCE> /* Se feature_test_macros(7) */\n"
98 "B<#include E<lt>sys/socket.hE<gt>>\n"
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 #, no-wrap
104 msgid ""
105 "B<int accept4(int >I<sockfd>B<, struct sockaddr *_Nullable restrict >I<addr>B<,>\n"
106 "B< socklen_t *_Nullable restrict >I<addrlen>B<, int >I<flags>B<);>\n"
107 msgstr ""
108 "B<int accept4(int >I<sockfd>B<, struct sockaddr *_Nullable restrict >I<addr>B<,>\n"
109 "B< socklen_t *_Nullable restrict >I<addrlen>B<, int >I<flags>B<);>\n"
110
111 #. type: SH
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 #, no-wrap
115 msgid "DESCRIPTION"
116 msgstr "BESKRIVELSE"
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "The B<accept>() system call is used with connection-based socket types "
123 "(B<SOCK_STREAM>, B<SOCK_SEQPACKET>). It extracts the first connection "
124 "request on the queue of pending connections for the listening socket, "
125 "I<sockfd>, creates a new connected socket, and returns a new file descriptor "
126 "referring to that socket. The newly created socket is not in the listening "
127 "state. The original socket I<sockfd> is unaffected by this call."
128 msgstr ""
129 "Systemkaldet B<accept>() bruges med forbindelsesbaserede sokkeltyper "
130 "(B<SOCK_STREAM>, B<SOCK_SEQPACKET>). Det udtrækker den første "
131 "forbindelsesanmodning på køen for afventende forbindelser for den lyttende "
132 "sokkel, I<sockfd>, opretter en ny forbundet sokkel og returnerer en ny "
133 "fildeskriptor, der refererer til den sokkel. Den netop oprettede sokkel er "
134 "ikke i lyttetilstanden. Den oprindelige sokkel I<sockfd> er upåvirket af "
135 "dette kald."
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 msgid ""
141 "The argument I<sockfd> is a socket that has been created with B<socket>(2), "
142 "bound to a local address with B<bind>(2), and is listening for connections "
143 "after a B<listen>(2)."
144 msgstr ""
145 "Argumentet I<sockfd> er en sokkel, der er blevet oprettet med B<socket>(2), "
146 "bundet til en lokal adresse med B<bind>(2), og lytter efter forbindelser "
147 "efter en B<listen>(2)."
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "The argument I<addr> is a pointer to a I<sockaddr> structure. This "
154 "structure is filled in with the address of the peer socket, as known to the "
155 "communications layer. The exact format of the address returned I<addr> is "
156 "determined by the socket's address family (see B<socket>(2) and the "
157 "respective protocol man pages). When I<addr> is NULL, nothing is filled in; "
158 "in this case, I<addrlen> is not used, and should also be NULL."
159 msgstr ""
160 "Argumentet I<addr> er en peger til strukturen I<sockaddr>. Denne struktur er "
161 "udfyldt med adressen af modpartsoklen, som kendt af kommunikationslaget. Det "
162 "præcise format for adressen returneret I<addr> bestemmes af soklens "
163 "adressefamilie (se B<socket>(2) og de respektive protokolmanualsider). Når "
164 "I<addr> er NULL, udfyldes intet; i det tilfælde, bruges I<addrlen> ikke, og "
165 "skal også være NULL."
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid ""
171 "The I<addrlen> argument is a value-result argument: the caller must "
172 "initialize it to contain the size (in bytes) of the structure pointed to by "
173 "I<addr>; on return it will contain the actual size of the peer address."
174 msgstr ""
175 "Argumentet I<addrlen> er et værdi-resultat argument: kalderen skal "
176 "igangsætte det for at have størrelsen (i byte) for strukturen pegende mod "
177 "I<addr>; ved returnering vil det indeholde den faktiske størrelse for "
178 "modpartsadressen."
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "The returned address is truncated if the buffer provided is too small; in "
185 "this case, I<addrlen> will return a value greater than was supplied to the "
186 "call."
187 msgstr ""
188 "Den returnerede adresse er forkortet hvis bufferen tilbudt er for lille; i "
189 "dette tilfælde vil I<addrlen> returnere en værdi større end den var leveret "
190 "til kaldet."
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 msgid ""
196 "If no pending connections are present on the queue, and the socket is not "
197 "marked as nonblocking, B<accept>() blocks the caller until a connection is "
198 "present. If the socket is marked nonblocking and no pending connections are "
199 "present on the queue, B<accept>() fails with the error B<EAGAIN> or "
200 "B<EWOULDBLOCK>."
201 msgstr ""
202 "Hvis ingen ventende forbindelser er til stede på køen og soklen ikke er "
203 "markeret som ikkeblokerende, så blokerer B<accept>() kalderen indti len "
204 "forbindelse er til stede. Hvis soklen er markeret som ikkeblokernede og "
205 "ingen igangværende forbindleser er til stede på køen, så fejler B<accept>() "
206 "med fejlen B<EAGAIN> eller B<EWOULDBLOCK>."
207
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 msgid ""
212 "In order to be notified of incoming connections on a socket, you can use "
213 "B<select>(2), B<poll>(2), or B<epoll>(7). A readable event will be "
214 "delivered when a new connection is attempted and you may then call "
215 "B<accept>() to get a socket for that connection. Alternatively, you can "
216 "set the socket to deliver B<SIGIO> when activity occurs on a socket; see "
217 "B<socket>(7) for details."
218 msgstr ""
219 "For at blive påmindet om indgående forbindelser på en sokkel, så kan du "
220 "bruge B<select>(2), B<poll>(2) eller B<epoll>(7). En læsbar hændelse vil "
221 "blive leveret, når en ny forbindelse forsøges og du kan så kalde B<accept>() "
222 "for at få en sokkel for den forbindelse. Alternativt kan du angive soklen "
223 "til at levere B<SIGIO> når aktivitet sker på en sokkel; se B<socket>(7) for "
224 "detaljer."
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid ""
230 "If I<flags> is 0, then B<accept4>() is the same as B<accept>(). The "
231 "following values can be bitwise ORed in I<flags> to obtain different "
232 "behavior:"
233 msgstr ""
234 "Hvis I<flag> er nul, så er B<accept4>() det samme som B<accept>(). De "
235 "følgende værdier være bitwise ORed i I<flag> for at hente forskellig "
236 "opførelse:"
237
238 #. type: TP
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 #, no-wrap
242 msgid "B<SOCK_NONBLOCK>"
243 msgstr "B<SOCK_NONBLOCK>"
244
245 #. type: Plain text
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 msgid ""
249 "Set the B<O_NONBLOCK> file status flag on the open file description (see "
250 "B<open>(2)) referred to by the new file descriptor. Using this flag saves "
251 "extra calls to B<fcntl>(2) to achieve the same result."
252 msgstr ""
253 "Angiv filstatusflaget B<O_NONBLOCK> på den åbne filbeskrivelse (se "
254 "B<open>(2)) refereret til af den nye fildeskriptor. Brug af dette flag "
255 "forhindrer ekstra kald til B<fcntl>(2) for at opnå det samme resultat."
256
257 #. type: TP
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "B<SOCK_CLOEXEC>"
262 msgstr "B<SOCK_CLOEXEC>"
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid ""
268 "Set the close-on-exec (B<FD_CLOEXEC>) flag on the new file descriptor. See "
269 "the description of the B<O_CLOEXEC> flag in B<open>(2) for reasons why this "
270 "may be useful."
271 msgstr ""
272 "Angiv flaget close-on-exec (B<FD_CLOEXEC>) på den nye fildeskriptor. Se "
273 "beskrivelsen af flaget B<O_CLOEXEC> i B<open>(2) for årsagerne til hvorfor "
274 "dette kan være nyttigt."
275
276 #. type: SH
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 #, no-wrap
280 msgid "RETURN VALUE"
281 msgstr "RETURVÆRDI"
282
283 #. type: Plain text
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 msgid ""
287 "On success, these system calls return a file descriptor for the accepted "
288 "socket (a nonnegative integer). On error, -1 is returned, I<errno> is set "
289 "to indicate the error, and I<addrlen> is left unchanged."
290 msgstr ""
291 "Ved succes returnerer disse systemkald en fildeskriptor for den accepterede "
292 "sokkel (et ikkenegativ heltal). Ved fejl returneres -1, I<errno> angives for "
293 "at indikere fejlen og I<addrlen> forbliver uændret."
294
295 #. type: SS
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 #, no-wrap
299 msgid "Error handling"
300 msgstr "Fejlhåndtering"
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 msgid ""
306 "Linux B<accept>() (and B<accept4>()) passes already-pending network errors "
307 "on the new socket as an error code from B<accept>(). This behavior differs "
308 "from other BSD socket implementations. For reliable operation the "
309 "application should detect the network errors defined for the protocol after "
310 "B<accept>() and treat them like B<EAGAIN> by retrying. In the case of TCP/"
311 "IP, these are B<ENETDOWN>, B<EPROTO>, B<ENOPROTOOPT>, B<EHOSTDOWN>, "
312 "B<ENONET>, B<EHOSTUNREACH>, B<EOPNOTSUPP>, and B<ENETUNREACH>."
313 msgstr ""
314 "Linux B<accept>() (og B<accept4>()) sender allerede igangværende "
315 "netværksfejl på den nye sokkel som en fejlkode fra B<accept>(). Denne "
316 "opførelse er forskellig fra andre BSD-sokkelimplementeringer. For troværdig "
317 "operation bør programmet registrere netværksfejl defineret for protokollen "
318 "efter B<accept>() og behandle dem som B<EAGAIN> ved at prøve igen. I "
319 "tilfælde af TCP/IP, er disse B<ENETDOWN>, B<EPROTO>, B<ENOPROTOOPT>, "
320 "B<EHOSTDOWN>, B<ENONET>, B<EHOSTUNREACH>, B<EOPNOTSUPP> og B<ENETUNREACH>."
321
322 #. type: SH
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "ERRORS"
327 msgstr "FEJL"
328
329 #. type: TP
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid "B<EAGAIN> or B<EWOULDBLOCK>"
334 msgstr "B<EAGAIN> eller B<EWOULDBLOCK>"
335
336 #. Actually EAGAIN on Linux
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 msgid ""
341 "The socket is marked nonblocking and no connections are present to be "
342 "accepted. POSIX.1-2001 and POSIX.1-2008 allow either error to be returned "
343 "for this case, and do not require these constants to have the same value, so "
344 "a portable application should check for both possibilities."
345 msgstr ""
346 "Soklen er markeret ikkeblokerende og ingen forbindelser er til stede for "
347 "accept. POSIX.1-2001 og POSIX.1-2008 tillader ikke at fejl returneres i "
348 "dette tilfælde og kræver ikke at disse konstanter har den samme værdi, så et "
349 "flytbart program skal tjekke for begge muligheder."
350
351 #. type: TP
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 #, no-wrap
355 msgid "B<EBADF>"
356 msgstr "B<EBADF>"
357
358 #. type: Plain text
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 msgid "I<sockfd> is not an open file descriptor."
362 msgstr "I<sockfd> er ikke en åben fildeskriptor."
363
364 #. type: TP
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 #, no-wrap
368 msgid "B<ECONNABORTED>"
369 msgstr "B<ECONNABORTED>"
370
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 msgid "A connection has been aborted."
375 msgstr "En forbindelse er blevet afbrudt."
376
377 #. type: TP
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 #, no-wrap
381 msgid "B<EFAULT>"
382 msgstr "B<EFAULT>"
383
384 #. type: Plain text
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 msgid ""
388 "The I<addr> argument is not in a writable part of the user address space."
389 msgstr "Argumentet I<addr> er ikke en skrivbar del af brugeradresserummet."
390
391 #. type: TP
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 #, no-wrap
395 msgid "B<EINTR>"
396 msgstr "B<EINTR>"
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 msgid ""
402 "The system call was interrupted by a signal that was caught before a valid "
403 "connection arrived; see B<signal>(7)."
404 msgstr ""
405 "Systemkaldet blev afbrudt af et signal, der blev fanget før en gyldig "
406 "forbindelse ankom; se B<signal>(7)."
407
408 #. type: TP
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 #, no-wrap
412 msgid "B<EINVAL>"
413 msgstr "B<EINVAL>"
414
415 #. type: Plain text
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 msgid ""
419 "Socket is not listening for connections, or I<addrlen> is invalid (e.g., is "
420 "negative)."
421 msgstr ""
422 "Sokket lytter ikke efter forbindelser, eller I<addrlen> er ugyldig (f.eks. "
423 "er negativ)."
424
425 #. type: Plain text
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 msgid "(B<accept4>()) invalid value in I<flags>."
429 msgstr "(B<accept4>()) ugyldig værdi i I<flag>."
430
431 #. type: TP
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 #, no-wrap
435 msgid "B<EMFILE>"
436 msgstr "B<EMFILE>"
437
438 #. type: Plain text
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 msgid ""
442 "The per-process limit on the number of open file descriptors has been "
443 "reached."
444 msgstr ""
445 "Begrænsningen per proces for antallet af åbne fildeskriptorer er blevet nået."
446
447 #. type: TP
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid "B<ENFILE>"
452 msgstr "B<ENFILE>"
453
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 msgid ""
458 "The system-wide limit on the total number of open files has been reached."
459 msgstr "Systemets begrænsning på det samlede antal åbne filer er nået."
460
461 #. type: TP
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 #, no-wrap
465 msgid "B<ENOBUFS>"
466 msgstr "B<ENOBUFS>"
467
468 #. type: TQ
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 #, no-wrap
472 msgid "B<ENOMEM>"
473 msgstr "B<ENOMEM>"
474
475 #. type: Plain text
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 msgid ""
479 "Not enough free memory. This often means that the memory allocation is "
480 "limited by the socket buffer limits, not by the system memory."
481 msgstr ""
482 "Ikke nok ledig hukommelse. Dette betyder ofte at hukommelsesallokeringen er "
483 "begrænset af sokkelbufferbegrænsningerne, ikke af systemhukommelsen."
484
485 #. type: TP
486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
488 #, no-wrap
489 msgid "B<ENOTSOCK>"
490 msgstr "B<ENOTSOCK>"
491
492 #. type: Plain text
493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
495 msgid "The file descriptor I<sockfd> does not refer to a socket."
496 msgstr "Fildeskriptoren I<sockfd> refererer ikke til en sokkel."
497
498 #. type: TP
499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
501 #, no-wrap
502 msgid "B<EOPNOTSUPP>"
503 msgstr "B<EOPNOTSUPP>"
504
505 #. type: Plain text
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 msgid "The referenced socket is not of type B<SOCK_STREAM>."
509 msgstr "Den refererede sokkel er ikke af typen B<SOCK_STREAM>."
510
511 #. type: TP
512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
514 #, no-wrap
515 msgid "B<EPERM>"
516 msgstr "B<EPERM>"
517
518 #. type: Plain text
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 msgid "Firewall rules forbid connection."
522 msgstr "Brandmursregler forbyder forbindelse."
523
524 #. type: TP
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
527 #, no-wrap
528 msgid "B<EPROTO>"
529 msgstr "B<EPROTO>"
530
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid "Protocol error."
535 msgstr "Protokolfejl."
536
537 #. type: Plain text
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 msgid ""
541 "In addition, network errors for the new socket and as defined for the "
542 "protocol may be returned. Various Linux kernels can return other errors "
543 "such as B<ENOSR>, B<ESOCKTNOSUPPORT>, B<EPROTONOSUPPORT>, B<ETIMEDOUT>. The "
544 "value B<ERESTARTSYS> may be seen during a trace."
545 msgstr ""
546 "Derudover kan netværksfejl for den nye sokkel og som defineret for "
547 "protokollen blive returneret. Diverse Linuxkerner kan returnere andre fejl "
548 "såsom B<ENOSR>, B<ESOCKTNOSUPPORT>, B<EPROTONOSUPPORT>, B<ETIMEDOUT>. "
549 "Værdien B<ERESTARTSYS> kan ses under en registrering."
550
551 #. type: SH
552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
554 #, no-wrap
555 msgid "VERSIONS"
556 msgstr "VERSIONER"
557
558 #. Some testing seems to show that Tru64 5.1 and HP-UX 11 also
559 #. do not inherit file status flags -- MTK Jun 05
560 #. type: Plain text
561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
563 msgid ""
564 "On Linux, the new socket returned by B<accept>() does I<not> inherit file "
565 "status flags such as B<O_NONBLOCK> and B<O_ASYNC> from the listening "
566 "socket. This behavior differs from the canonical BSD sockets "
567 "implementation. Portable programs should not rely on inheritance or "
568 "noninheritance of file status flags and always explicitly set all required "
569 "flags on the socket returned from B<accept>()."
570 msgstr ""
571 "På Linux arver den nye sokkel returneret af B<accept>() I<ikke> "
572 "filstatusflag såsom B<O_NONBLOCK> og B<O_ASYNC> fra den lyttende sokkel. "
573 "Denne opførelse er forskellig fra den kanoniske BSD-sokkelimplementering. "
574 "Flytbare programmer bør altid afhænge af arv eller ikke-arvelighed for "
575 "filstatusflag og altid eksplicit angive alle krævede flag på soklen "
576 "returneret fra B<accept>()."
577
578 #. type: SH
579 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
580 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
581 #, no-wrap
582 msgid "STANDARDS"
583 msgstr "STANDARDER"
584
585 #. type: Plain text
586 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
587 #: opensuse-tumbleweed
588 msgid "POSIX.1-2024."
589 msgstr "POSIX.1-2024."
590
591 #. type: SH
592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
594 #, no-wrap
595 msgid "HISTORY"
596 msgstr "HISTORIK"
597
598 #. type: TP
599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
601 #, no-wrap
602 msgid "B<accept>()"
603 msgstr "B<accept>()"
604
605 #. The BSD man page documents five possible error returns
606 #. (EBADF, ENOTSOCK, EOPNOTSUPP, EWOULDBLOCK, EFAULT).
607 #. POSIX.1-2001 documents errors
608 #. EAGAIN, EBADF, ECONNABORTED, EINTR, EINVAL, EMFILE,
609 #. ENFILE, ENOBUFS, ENOMEM, ENOTSOCK, EOPNOTSUPP, EPROTO, EWOULDBLOCK.
610 #. In addition, SUSv2 documents EFAULT and ENOSR.
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 msgid "POSIX.1-2001, SVr4, 4.4BSD (B<accept>() first appeared in 4.2BSD)."
615 msgstr "POSIX.1-2001, SVr4, 4.4BSD (B<accept>() var første gang i 4.2BSD)."
616
617 #. type: TP
618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
620 #, no-wrap
621 msgid "B<accept4>()"
622 msgstr "B<accept4>()"
623
624 #. type: Plain text
625 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
626 #: opensuse-tumbleweed
627 msgid "POSIX.1-2024. Linux 2.6.28, glibc 2.10."
628 msgstr "POSIX.1-2024. Linux 2.6.28, glibc 2.10."
629
630 #. type: SH
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 #, no-wrap
634 msgid "NOTES"
635 msgstr "NOTER"
636
637 #. type: Plain text
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 msgid ""
641 "There may not always be a connection waiting after a B<SIGIO> is delivered "
642 "or B<select>(2), B<poll>(2), or B<epoll>(7) return a readability event "
643 "because the connection might have been removed by an asynchronous network "
644 "error or another thread before B<accept>() is called. If this happens, "
645 "then the call will block waiting for the next connection to arrive. To "
646 "ensure that B<accept>() never blocks, the passed socket I<sockfd> needs to "
647 "have the B<O_NONBLOCK> flag set (see B<socket>(7))."
648 msgstr ""
649 "Der er ikke altid en forbindelse ventende efter en B<SIGIO> er leveret eller "
650 "B<select>(2), B<poll>(2) eller B<epoll>(7) returnerer en læsbarhedshændelse "
651 "da forbindelsen kan være fjernet af en asynkron netværksfejl eller en anden "
652 "tråd før B<accept>() kaldes. Hvis dette sker, så vil kaldet blokere ventende "
653 "på at den næste forbindelse ankommer. For at sikre at B<accept>() aldrig "
654 "blokerer, skal den sendte sokkel I<sockfd> have flaget B<O_NONBLOCK> angivet "
655 "(se B<socket>(7))."
656
657 #. type: Plain text
658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
660 msgid ""
661 "For certain protocols which require an explicit confirmation, such as "
662 "DECnet, B<accept>() can be thought of as merely dequeuing the next "
663 "connection request and not implying confirmation. Confirmation can be "
664 "implied by a normal read or write on the new file descriptor, and rejection "
665 "can be implied by closing the new socket. Currently, only DECnet has these "
666 "semantics on Linux."
667 msgstr ""
668 "For bestemte protokoller, der kræver en eksplicit bekræftelse, såsom DECnet, "
669 "kan B<accept>() ses som blot afkørende den næste forbindelsesanmodning og "
670 "ikke implementere bekræftelse. Bekræftelse kan være underforstået som en "
671 "normal læs eller skriv på den nye fildeskriptor, og afvigelse kan være "
672 "underforstået ved at lukke den nye sokkel. I øjeblikket har kun DECnet denne "
673 "semantik på Linux."
674
675 #. type: SS
676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
678 #, no-wrap
679 msgid "The socklen_t type"
680 msgstr "Socklen_t-typen"
681
682 #. such as Linux libc4 and libc5, SunOS 4, SGI
683 #. SunOS 5 has 'size_t *'
684 #. type: Plain text
685 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
686 #: opensuse-tumbleweed
687 msgid ""
688 "In the original BSD sockets implementation (and on other older systems) the "
689 "third argument of B<accept>() was declared as an I<int\\ *>. A POSIX.1g "
690 "draft standard wanted to change it into a I<size_t\\ *>; later POSIX "
691 "standards and glibc 2.x have I<socklen_t\\ * >."
692 msgstr ""
693 "I den originale BSD-sokkelimplementering (og på andre ældre systemer) blev "
694 "det tredje argument for B<accept>() erklæret som en I<int\\ *>. En POSIX.1g-"
695 "kladdestandard ønskede at ændre det til en I<size_t\\ *>; senere POSIX-"
696 "standard og glibc 2.x har I<socklen_t\\ * >."
697
698 #. type: SH
699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
701 #, no-wrap
702 msgid "EXAMPLES"
703 msgstr "EKSEMPLER"
704
705 #. type: Plain text
706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
708 msgid "See B<bind>(2)."
709 msgstr "Se B<bind>(2)."
710
711 #. type: SH
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 #, no-wrap
715 msgid "SEE ALSO"
716 msgstr "SE OGSÅ"
717
718 #. type: Plain text
719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
721 msgid ""
722 "B<bind>(2), B<connect>(2), B<listen>(2), B<select>(2), B<socket>(2), "
723 "B<socket>(7)"
724 msgstr ""
725 "B<bind>(2), B<connect>(2), B<listen>(2), B<select>(2), B<socket>(2), "
726 "B<socket>(7)"
727
728 #. type: TH
729 #: debian-trixie
730 #, no-wrap
731 msgid "2024-05-02"
732 msgstr "2. maj 2024"
733
734 #. type: TH
735 #: debian-trixie
736 #, no-wrap
737 msgid "Linux man-pages 6.9.1"
738 msgstr "Linux man-pages 6.9.1"
739
740 #. type: Plain text
741 #: debian-trixie
742 msgid "Standard C library (I<libc>, I<-lc>)"
743 msgstr "C-standardbibliotek (I<libc>, I<-lc>)"
744
745 #. type: Plain text
746 #: debian-trixie fedora-44 fedora-rawhide
747 msgid "POSIX.1-2008."
748 msgstr "POSIX.1-2008."
749
750 #. type: Plain text
751 #: debian-trixie fedora-44 fedora-rawhide
752 msgid "Linux."
753 msgstr "Linux."
754
755 #. type: Plain text
756 #: debian-trixie fedora-44 fedora-rawhide
757 msgid "Linux 2.6.28, glibc 2.10."
758 msgstr "Linux 2.6.28, glibc 2.10."
759
760 #. such as Linux libc4 and libc5, SunOS 4, SGI
761 #. SunOS 5 has 'size_t *'
762 #. type: Plain text
763 #: debian-trixie fedora-44 fedora-rawhide
764 msgid ""
765 "In the original BSD sockets implementation (and on other older systems) the "
766 "third argument of B<accept>() was declared as an I<int\\ *>. A POSIX.1g "
767 "draft standard wanted to change it into a I<size_t\\ *>C; later POSIX "
768 "standards and glibc 2.x have I<socklen_t\\ * >."
769 msgstr ""
770 "I den originaleBSD-sokkelimplementering (og på andre ældre systemer) blev "
771 "det tredje argument for B<accept>() erklæret som en I<int\\ *>. En POSIX.1g-"
772 "kladdestandard ønskede at ændre den til en I<size_t\\ *>C; senere POSIX-"
773 "standarder og glibc 2.x har I<socklen_t\\ * >."
774
775 #. type: TH
776 #: fedora-44 fedora-rawhide
777 #, no-wrap
778 msgid "2024-07-23"
779 msgstr "23. juli 2024"
780
781 #. type: TH
782 #: fedora-44 fedora-rawhide
783 #, no-wrap
784 msgid "Linux man-pages 6.13"
785 msgstr "Linux man-pages 6.13"
786
787 #. type: TH
788 #: mageia-cauldron
789 #, no-wrap
790 msgid "Linux man-pages 6.17"
791 msgstr "Linux man-pages 6.17"
792
793 #. type: TH
794 #: opensuse-leap-16-1 opensuse-tumbleweed
795 #, no-wrap
796 msgid "Linux man-pages (unreleased)"
797 msgstr "Linux man-pages (ej udgivet)"