Debian Codegraph @

po/da/man2/_syscall.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 Hansen <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.0\n"
8 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
9 "PO-Revision-Date: 2026-04-01 16:36+0200\n"
10 "Last-Translator: Joe Hansen <[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 "_syscall"
23 msgstr "_syscall"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2025-05-17"
30 msgstr "17. maj 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 "_syscall - invoking a system call without library support (OBSOLETE)"
49 msgstr ""
50 "_syscall - igangsætte et systemkald uden biblioteksunderstøttelse (FORÆLDET)"
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "SYNOPSIS"
57 msgstr "SYNOPSIS"
58
59 #. type: Plain text
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 #, no-wrap
63 msgid "B<#include E<lt>linux/unistd.hE<gt>>\n"
64 msgstr "B<#include E<lt>linux/unistd.hE<gt>>\n"
65
66 #. type: Plain text
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "A _syscall macro\n"
71 msgstr "En _syscall-makro\n"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "desired system call\n"
78 msgstr "ønsket systemkald\n"
79
80 #. type: SH
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "DESCRIPTION"
85 msgstr "BESKRIVELSE"
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 msgid ""
91 "The important thing to know about a system call is its prototype. You need "
92 "to know how many arguments, their types, and the function return type. "
93 "There are seven macros that make the actual call into the system easier. "
94 "They have the form:"
95 msgstr ""
96 "Den vigtige ting at vide om et systemkald er dets prototype. Du skal vide "
97 "hvor mange argumenter der er, deres typer og funktionsreturtypen. Der er syv "
98 "makroer, der gør det faktiske kald til systemet nemmere. De har formen:"
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 "_syscallI<X>(I<type>,I<name>,I<type1>,I<arg1>,I<type2>,I<arg2>,...)\n"
105 msgstr "_syscallI<X>(I<type>,I<navn>,I<type1>,I<arg1>,I<type2>,I<arg2>,...)\n"
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 msgid "where"
111 msgstr "hvor"
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "I<X> is 0\\[en]6, which are the number of arguments taken by the system call"
118 msgstr "I<X> er 0\\[en]6, der er antallet af argumenter fra systemkaldet"
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid "I<type> is the return type of the system call"
124 msgstr "I<type> er returtypen for systemkaldet"
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid "I<name> is the name of the system call"
130 msgstr "I<navn> er navnet på systemkaldet"
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid "I<typeN> is the Nth argument's type"
136 msgstr "I<typeN> er det N. arguments type"
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 msgid "I<argN> is the name of the Nth argument"
142 msgstr "I<argN> er navnet på det N. argument"
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid ""
148 "These macros create a function called I<name> with the arguments you "
149 "specify. Once you include the _syscall() in your source file, you call the "
150 "system call by I<name>."
151 msgstr ""
152 "Disse makroer opretter en funktion kaldt I<navn> med argumenterne du "
153 "angiver. Når du inkluderer _syscall() i din kildefil så kalder du "
154 "systemkaldet med I<navn>."
155
156 #. type: SH
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 #, no-wrap
160 msgid "FILES"
161 msgstr "FILER"
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 msgid "I</usr/include/linux/unistd.h>"
167 msgstr "I</usr/include/linux/unistd.h>"
168
169 #. type: SH
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 #, no-wrap
173 msgid "STANDARDS"
174 msgstr "STANDARDER"
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 msgid "Linux."
180 msgstr "Linux."
181
182 #. type: SH
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 #, no-wrap
186 msgid "HISTORY"
187 msgstr "HISTORIK"
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid ""
193 "Starting around Linux 2.6.18, the _syscall macros were removed from header "
194 "files supplied to user space. Use B<syscall>(2) instead. (Some "
195 "architectures, notably ia64, never provided the _syscall macros; on those "
196 "architectures, B<syscall>(2) was always required.)"
197 msgstr ""
198 "Startende omkring Linux 2.6.18 blev _syscall-makroerne fjernet fra "
199 "teksthovedfilerne leveret til brugerrummet. Brug B<syscall>(2) i stedet for. "
200 "(Nogle arkitekturer, specielt ia64, tilbød aldrig _syscall-makroer; på disse "
201 "arkitekturer var B<syscall>(2) altid krævet)."
202
203 #. type: SH
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 #, no-wrap
207 msgid "NOTES"
208 msgstr "NOTER"
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 msgid ""
214 "The _syscall() macros I<do not> produce a prototype. You may have to create "
215 "one, especially for C++ users."
216 msgstr ""
217 "_syscall()-makroerne I<laver ikke> en prototype. Du skal måske oprette en, "
218 "specielt for C++-brugere."
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 msgid ""
224 "System calls are not required to return only positive or negative error "
225 "codes. You need to read the source to be sure how it will return errors. "
226 "Usually, it is the negative of a standard error code, for example, "
227 "-I<EPERM>. The _syscall() macros will return the result I<r> of the system "
228 "call when I<r> is nonnegative, but will return -1 and set the variable "
229 "I<errno> to -I<r> when I<r> is negative. For the error codes, see "
230 "B<errno>(3)."
231 msgstr ""
232 "Systemkald er ikke krævet for kun at returnere positive eller negative "
233 "fejlkoder. Du skal læse kilden for at være sikker på hvordan det vil "
234 "returnere fejl. Normalt er det det negative for en standardfejlkode, for "
235 "eksempel -I<EPERM>. _syscall()-makroerne vil returnere resultatet I<r> for "
236 "systemkaldet når I<r> ikke er negativt, men vil returnere -1 og angive "
237 "variablen I<errno> til -I<r> når I<r> er negativ. Se B<errno>(3) for "
238 "fejlkoderne."
239
240 #. The preferred way to invoke system calls that glibc does not know
241 #. about yet is via
242 #. .BR syscall (2).
243 #. However, this mechanism can be used only if using a libc
244 #. (such as glibc) that supports
245 #. .BR syscall (2),
246 #. and if the
247 #. .I <sys/syscall.h>
248 #. header file contains the required SYS_foo definition.
249 #. Otherwise, the use of a _syscall macro is required.
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid ""
254 "When defining a system call, the argument types I<must> be passed by-value "
255 "or by-pointer (for aggregates like structs)."
256 msgstr ""
257 "Når definerende et systemkald I<skal> argumenttyperne sendes efter-værdi "
258 "eller efter-peger (for aggregater som strukturer)."
259
260 #. type: SH
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "EXAMPLES"
265 msgstr "EKSEMPLER"
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 #, no-wrap
271 msgid ""
272 "#include E<lt>stdio.hE<gt>\n"
273 "#include E<lt>stdlib.hE<gt>\n"
274 "#include E<lt>errno.hE<gt>\n"
275 "#include E<lt>linux/unistd.hE<gt> /* for _syscallX macros/related stuff */\n"
276 "#include E<lt>linux/kernel.hE<gt> /* for struct sysinfo */\n"
277 "\\&\n"
278 "_syscall1(int, sysinfo, struct sysinfo *, info);\n"
279 "\\&\n"
280 "int\n"
281 "main(void)\n"
282 "{\n"
283 " struct sysinfo s_info;\n"
284 " int error;\n"
285 "\\&\n"
286 " error = sysinfo(&s_info);\n"
287 " printf(\"code error = %d\\[rs]n\", error);\n"
288 " printf(\"Uptime = %lds\\[rs]nLoad: 1 min %lu / 5 min %lu / 15 min %lu\\[rs]n\"\n"
289 " \"RAM: total %lu / free %lu / shared %lu\\[rs]n\"\n"
290 " \"Memory in buffers = %lu\\[rs]nSwap: total %lu / free %lu\\[rs]n\"\n"
291 " \"Number of processes = %d\\[rs]n\",\n"
292 " s_info.uptime, s_info.loads[0],\n"
293 " s_info.loads[1], s_info.loads[2],\n"
294 " s_info.totalram, s_info.freeram,\n"
295 " s_info.sharedram, s_info.bufferram,\n"
296 " s_info.totalswap, s_info.freeswap,\n"
297 " s_info.procs);\n"
298 " exit(EXIT_SUCCESS);\n"
299 "}\n"
300 msgstr ""
301 "#include E<lt>stdio.hE<gt>\n"
302 "#include E<lt>stdlib.hE<gt>\n"
303 "#include E<lt>errno.hE<gt>\n"
304 "#include E<lt>linux/unistd.hE<gt> /* for _syscallX-makroer/relat. ting */\n"
305 "#include E<lt>linux/kernel.hE<gt> /* for struct sysinfo */\n"
306 "\\&\n"
307 "_syscall1(int, sysinfo, struct sysinfo *, info);\n"
308 "\\&\n"
309 "int\n"
310 "main(void)\n"
311 "{\n"
312 " struct sysinfo s_info;\n"
313 " int error;\n"
314 "\\&\n"
315 " error = sysinfo(&s_info);\n"
316 " printf(\"Kodefejl = %d\\[rs]n\", fejl);\n"
317 " printf(\"Oppetid = %lds\\[rs]nBelastning: 1 min %lu / 5 min %lu / 15 min %lu\\[rs]n\"\n"
318 " \"RAM: samlet %lu / fri %lu / delt %lu\\[rs]n\"\n"
319 " \"Hukommelse i buffere = %lu\\[rs]nSwap: samlet %lu / fri %lu\\[rs]n\"\n"
320 " \"Antal processer = %d\\[rs]n\",\n"
321 " s_info.uptime, s_info.loads[0],\n"
322 " s_info.loads[1], s_info.loads[2],\n"
323 " s_info.totalram, s_info.freeram,\n"
324 " s_info.sharedram, s_info.bufferram,\n"
325 " s_info.totalswap, s_info.freeswap,\n"
326 " s_info.procs);\n"
327 " exit(EXIT_SUCCESS);\n"
328 "}\n"
329
330 #. SRC END
331 #. type: SS
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "Sample output"
336 msgstr "Prøveresultat"
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, no-wrap
342 msgid ""
343 "code error = 0\n"
344 "uptime = 502034s\n"
345 "Load: 1 min 13376 / 5 min 5504 / 15 min 1152\n"
346 "RAM: total 15343616 / free 827392 / shared 8237056\n"
347 "Memory in buffers = 5066752\n"
348 "Swap: total 27881472 / free 24698880\n"
349 "Number of processes = 40\n"
350 msgstr ""
351 "Kodefejl = 0\n"
352 "Oppetid = 502034s\n"
353 "Belastning: 1 min 13376 / 5 min 5504 / 15 min 1152\n"
354 "RAM: samlet 15343616 / fri 827392 / delt 8237056\n"
355 "Hukommelse i buffere = 5066752\n"
356 "Swap: samlet 27881472 / fri 24698880\n"
357 "Antal processer = 40\n"
358
359 #. type: SH
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "SEE ALSO"
364 msgstr "SE OGSÅ"
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid "B<intro>(2), B<syscall>(2), B<errno>(3)"
370 msgstr "B<intro>(2), B<syscall>(2), B<errno>(3)"
371
372 #. type: TH
373 #: debian-trixie fedora-44 fedora-rawhide
374 #, no-wrap
375 msgid "2024-06-15"
376 msgstr "15. juni 2024"
377
378 #. type: TH
379 #: debian-trixie
380 #, no-wrap
381 msgid "Linux man-pages 6.9.1"
382 msgstr "Linux man-pages 6.9.1"
383
384 #. type: TH
385 #: fedora-44 fedora-rawhide
386 #, no-wrap
387 msgid "Linux man-pages 6.13"
388 msgstr "Linux man-pages 6.13"
389
390 #. type: TH
391 #: mageia-cauldron
392 #, no-wrap
393 msgid "Linux man-pages 6.17"
394 msgstr "Linux man-pages 6.17"
395
396 #. type: TH
397 #: opensuse-leap-16-1 opensuse-tumbleweed
398 #, no-wrap
399 msgid "Linux man-pages (unreleased)"
400 msgstr "Linux man-pages (ej udgivet)"