Debian Codegraph @

po/nl/man3/strtol.3.po

raw
1 # Dutch translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Mario Blättermann <[email protected]>, 2019.
5 # Luc Castermans <[email protected]>, 2021-2023, 2024, 2025, 2026.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n 2.15\n"
9 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
10 "PO-Revision-Date: 2026-03-27 09:15+0100\n"
11 "Last-Translator: Luc Castermans <[email protected]>\n"
12 "Language-Team: Dutch <[email protected]>\n"
13 "Language: nl_NL\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
18 "X-Generator: Lokalize 25.12.1\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "strtol"
25 msgstr "strtol"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 februari 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, fuzzy, no-wrap
37 #| msgid "Linux man-pages 6.17"
38 msgid "Linux man-pages 6.18"
39 msgstr "Linux man-paginas 6.17"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "NAAM"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "strtol, strtoll, strtoq - convert a string to a long integer"
52 msgstr ""
53 "strtol, strtoll, strtoq - converteert een tekenreeks naar een lang geheel "
54 "getal"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "BIBLIOTHEEK"
62
63 #. type: Plain text
64 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
65 #: opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "Standaard C bibliotheek (I<libc>, I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "SAMENVATTING"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "B<#include E<lt>stdlib.hE<gt>>\n"
81 msgstr "B<#include E<lt>stdlib.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid ""
88 "B<long strtol(const char *restrict >I<nptr>B<,>\n"
89 "B< char **_Nullable restrict >I<endptr>B<, int >I<base>B<);>\n"
90 "B<long long strtoll(const char *restrict >I<nptr>B<,>\n"
91 "B< char **_Nullable restrict >I<endptr>B<, int >I<base>B<);>\n"
92 msgstr ""
93 "B<long strtol(const char *restrict >I<nptr>B<,>\n"
94 "B< char **_Nullable restrict >I<endptr>B<, int >I<base>B<);>\n"
95 "B<long long strtoll(const char *restrict >I<nptr>B<,>\n"
96 "B< char **_Nullable restrict >I<endptr>B<, int >I<base>B<);>\n"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
103 msgstr ""
104 "Feature Test Macro Requirements voor glibc (zie B<feature_test_macros>(7)):"
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 msgid "B<strtoll>():"
110 msgstr "B<strtoll>():"
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 #, no-wrap
116 msgid ""
117 " _ISOC99_SOURCE\n"
118 " || /* glibc E<lt>= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n"
119 msgstr ""
120 " _ISOC99_SOURCE\n"
121 " || /* glibc E<lt>= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n"
122 "\n"
123
124 #. type: SH
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 #, no-wrap
128 msgid "DESCRIPTION"
129 msgstr "BESCHRIJVING"
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 msgid ""
135 "The B<strtol>() function converts the initial part of the string in I<nptr> "
136 "to a long integer value according to the given I<base>, which must be "
137 "between 2 and 36 inclusive, or be the special value 0."
138 msgstr ""
139 "De B<strtol>() functie converteert het initiële deel van een tekenreeks in "
140 "I<nptr> naar een lang geheel getal met als I<grondtal> als grondtal, welk "
141 "moet liggen tussen 2 en 36 (inclusief deze grenzen), of de speciale waarde 0."
142
143 #. type: Plain text
144 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
145 #: opensuse-tumbleweed
146 msgid ""
147 "The string may begin with an arbitrary amount of white space (as determined "
148 "by B<isspace>(3)) followed by a single optional \\[aq]+\\[aq] or \\[aq]-\\"
149 "[aq] sign. If I<base> is zero or 16, the string may then include a \"0x\" "
150 "or \"0X\" prefix, and the number will be read in base 16; if I<base> is zero "
151 "or 2, the string may then include a \"0b\" or \"0B\" prefix, and the number "
152 "will be read in base 2; otherwise, a zero I<base> is taken as 10 (decimal) "
153 "unless the next character is \\[aq]0\\[aq], in which case it is taken as 8 "
154 "(octal)."
155 msgstr ""
156 "De tekenreeks mag beginnen met een willekeurig aantal witruimtes (zoals "
157 "bepaald door B<isspace>(3)) gevolgd door een enkel optioneel teken \\[aq]+\\"
158 "[aq] or \\[aq]-\\[aq]. Als het I<grondtal> nul of 16 is, dan mag de string "
159 "\"0x\" of \"0X\" bevatten en wordt het getal gelezen met 16 als grondtal; "
160 "als het I<grondtal> nul of 2 is, dan mag de string een \"0b\" or \"0B\" "
161 "voorvoegsel bevatten, en het getal wordt gelezen met 2 als grondtal; anders "
162 "zal het I<grondtal> 0 geïnterpreteerd worden als 10 (decimaal) behalve als "
163 "het volgende teken \\[aq]0\\[aq] is, in welk geval het geïnterpreteerd wordt "
164 "als 8 (octaal). "
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 msgid ""
170 "The remainder of the string is converted to a I<long> value in the obvious "
171 "manner, stopping at the first character which is not a valid digit in the "
172 "given base. (In bases above 10, the letter \\[aq]A\\[aq] in either "
173 "uppercase or lowercase represents 10, \\[aq]B\\[aq] represents 11, and so "
174 "forth, with \\[aq]Z\\[aq] representing 35.)"
175 msgstr ""
176 "De rest van de tekenreeks zal geconverteerd worden naar een I<long> waarde "
177 "in de voor de hand liggende manier, eindigende bij het eerste ongeldige "
178 "teken in het gekozen grondtal. (Grondtallen groter dan 10, vertegenwoordigd "
179 "de letter \\[aq]A\\[aq] in zowel hoofd- als kleine letter 10, \\[aq]B\\[aq] "
180 "vertegenwoordigd 11, en zo voorts, met \\[aq]Z\\[aq] vertegenwoordigde 35.)"
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "If I<endptr> is not NULL, and the I<base> is supported, B<strtol>() stores "
187 "the address of the first invalid character in I<*endptr>. If there were no "
188 "digits at all, B<strtol>() stores the original value of I<nptr> in "
189 "I<*endptr> (and returns 0). In particular, if I<*nptr> is not \\[aq]\\"
190 "[rs]0\\[aq] but I<**endptr> is \\[aq]\\[rs]0\\[aq] on return, the entire "
191 "string is valid."
192 msgstr ""
193 "Zodra I<endptr> niet NULL is, zal B<strtol> het adres van het eerste "
194 "ongeldige teken in I<*endptr> opslaan. Als er geen enkel cijfer was, dan "
195 "bewaart B<strtol>() de originele waarde van I<nptr> in I<*endptr> (en geeft "
196 "een 0 terug). In het bijzonder, als I<*nptr> niet gelijk is aan \\[aq]\\"
197 "[rs]0\\[aq] maar I<**endptr> is \\[aq]\\[rs]0\\[aq] bij terugkeer, dan is de "
198 "hele tekenreeks geldig."
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "The B<strtoll>() function works just like the B<strtol>() function but "
205 "returns a I<long long> integer value."
206 msgstr ""
207 "De B<strtoll>() functie werkt net als de B<strtol>() functie maar geeft "
208 "een lang-lang gehele waarde terug."
209
210 #. type: SH
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 #, no-wrap
214 msgid "RETURN VALUE"
215 msgstr "EIND WAARDE"
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 msgid ""
221 "The B<strtol>() function returns the result of the conversion, unless the "
222 "value would underflow or overflow. If an underflow occurs, B<strtol>() "
223 "returns B<LONG_MIN>. If an overflow occurs, B<strtol>() returns "
224 "B<LONG_MAX>. In both cases, I<errno> is set to B<ERANGE>. Precisely the "
225 "same holds for B<strtoll>() (with B<LLONG_MIN> and B<LLONG_MAX> instead of "
226 "B<LONG_MIN> and B<LONG_MAX>)."
227 msgstr ""
228 "De B<strtol>() functie retourneert het resultaat van een conversie, behalve "
229 "als de waarde resulteerde in een onder- of overloop. Als een onderloop "
230 "optrad dan retourneert B<strtol>() een B<LONG_MIN>. Als een overloop optrad "
231 "dan retourneert B<strtol>() een B<LONG_MAX>. In beide gevallen wordt "
232 "I<errno> gezet op B<ERANGE>. Hetzelfde geldt voor B<strtoll>() (met "
233 "B<LLONG_MIN> en B<LLONG_MAX> in plaats van B<LONG_MIN> en B<LONG_MAX>)."
234
235 #. type: SH
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "ERRORS"
240 msgstr "FOUTEN"
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid "This function does not modify I<errno> on success."
246 msgstr "Deze functie verandert I<errno> niet bij succes."
247
248 #. type: TP
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "B<EINVAL>"
253 msgstr "B<EINVAL>"
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 msgid "(not in C99) The given I<base> contains an unsupported value."
259 msgstr ""
260 "(niet in C99) Het gegeven I<grondtal> bevat een niet ondersteunde waarde."
261
262 #. type: TP
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "B<ERANGE>"
267 msgstr "B<ERANGE>"
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid "The resulting value was out of range."
273 msgstr "De resulterende waarde was buiten bereik."
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "The implementation may also set I<errno> to B<EINVAL> in case no conversion "
280 "was performed (no digits seen, and 0 returned)."
281 msgstr ""
282 "De implementatie mag I<errno> zetten op B<EINVAL> in het geval dat er geen "
283 "omzetting plaats vond (geen cijfers gezien en 0 geretourneerd). "
284
285 #. type: SH
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "ATTRIBUTES"
290 msgstr "ATTRIBUTEN"
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 msgid ""
296 "For an explanation of the terms used in this section, see B<attributes>(7)."
297 msgstr ""
298 "Voor een uitleg van de termen zoals gebruikt in deze sectie, zie "
299 "B<attributen>(7)."
300
301 #. type: tbl table
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "Interface"
306 msgstr "Interface"
307
308 #. type: tbl table
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 #, no-wrap
312 msgid "Attribute"
313 msgstr "Attribuut"
314
315 #. type: tbl table
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, no-wrap
319 msgid "Value"
320 msgstr "Waarde"
321
322 #. type: tbl table
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid ".na\n"
327 msgstr ".na\n"
328
329 #. type: tbl table
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid ".nh\n"
334 msgstr ".nh\n"
335
336 #. type: tbl table
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 #, no-wrap
340 msgid ""
341 "B<strtol>(),\n"
342 "B<strtoll>(),\n"
343 "B<strtoq>()"
344 msgstr ""
345 "B<strtol>(),\n"
346 "B<strtoll>(),\n"
347 "B<strtoq>()"
348
349 #. type: tbl table
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 #, no-wrap
353 msgid "Thread safety"
354 msgstr "Thread veilig"
355
356 #. type: tbl table
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 #, no-wrap
360 msgid "MT-Safe locale"
361 msgstr "MT-Safe taalgebied"
362
363 #. type: SH
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 #, no-wrap
367 msgid "VERSIONS"
368 msgstr "VERSIES"
369
370 #. type: Plain text
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 msgid ""
374 "According to POSIX.1, in locales other than \"C\" and \"POSIX\", these "
375 "functions may accept other, implementation-defined numeric strings."
376 msgstr ""
377 "Volgens POSIX.1, in taalgebieden anders dan \"C\" en \"POSIX\", mogen deze "
378 "functies andere, implementatie afhankelijke numerieke tekenreeksen "
379 "accepteren."
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 msgid "BSD also has"
385 msgstr "BSD heeft ook"
386
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid "B<quad_t strtoq(const char *>I<nptr>B<, char **>I<endptr>B<, int >I<base>B<);>\n"
392 msgstr "B<quad_t strtoq(const char *>I<nptr>B<, char **>I<endptr>B<, int >I<grondtal>B<);>\n"
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 msgid ""
398 "with completely analogous definition. Depending on the wordsize of the "
399 "current architecture, this may be equivalent to B<strtoll>() or to "
400 "B<strtol>()."
401 msgstr ""
402 "met complete vergelijkbare definitie. Afhankelijk van de woordgrootte van de "
403 "huidige architectuur, kan dit equivalent zijn aan B<strtoll>() of aan "
404 "B<strtol>()."
405
406 #. type: SH
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 #, no-wrap
410 msgid "STANDARDS"
411 msgstr "STANDAARDEN"
412
413 #. type: Plain text
414 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
415 #: opensuse-tumbleweed
416 msgid "C23, POSIX.1-2024."
417 msgstr "C23, POSIX.1-2024."
418
419 #. type: SH
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 #, no-wrap
423 msgid "HISTORY"
424 msgstr "HISTORIE"
425
426 #. type: TP
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 #, no-wrap
430 msgid "B<strtol>()"
431 msgstr "B<strtol>()"
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 msgid "POSIX.1-2001, C89, SVr4, 4.3BSD."
437 msgstr "POSIX.1-2001, C89, SVr4, 4.3BSD."
438
439 #. type: TP
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid "B<strtoll>()"
444 msgstr "B<strtoll>()"
445
446 #. type: Plain text
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 msgid "POSIX.1-2001, C99."
450 msgstr "POSIX.1-2001, C99."
451
452 #. type: TP
453 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
454 #: opensuse-tumbleweed
455 #, no-wrap
456 msgid "\"0b\", \"0B\""
457 msgstr "\"0b\", \"0B\""
458
459 #. type: Plain text
460 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
461 #: opensuse-tumbleweed
462 msgid "C23. glibc 2.38. (Not in POSIX.)"
463 msgstr "C23. glibc 2.38. (Niet in POSIX.)"
464
465 #. type: SH
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 #, no-wrap
469 msgid "CAVEATS"
470 msgstr "OPMERKINGEN"
471
472 #. type: SS
473 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
474 #: opensuse-tumbleweed
475 #, no-wrap
476 msgid "Range checks"
477 msgstr "Bereik controles"
478
479 #. type: Plain text
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 msgid ""
483 "Since B<strtol>() can legitimately return 0, B<LONG_MAX>, or B<LONG_MIN> "
484 "(B<LLONG_MAX> or B<LLONG_MIN> for B<strtoll>()) on both success and "
485 "failure, the calling program should set I<errno> to 0 before the call, and "
486 "then determine if an error occurred by checking whether I<errno == ERANGE> "
487 "after the call."
488 msgstr ""
489 "Omdat B<strtol>() legitiem 0, B<LONG_MAX>, of B<LONG_MIN> (B<LLONG_MAX> of "
490 "B<LLONG_MIN> voor B<strtoll>()) kan retourneren bij zowel succes of falen, "
491 "moet het aanroepende programma I<errno> op 0 zetten voor de aanroep, en "
492 "vervolgens bepalen of een fout optrad door te controleren of I<errno == "
493 "ERANGE> heeft na de aanroep."
494
495 #. type: Plain text
496 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
497 #: opensuse-tumbleweed
498 #, no-wrap
499 msgid ""
500 "errno = 0;\n"
501 "n = strtol(s, &end, base);\n"
502 "if (end == s)\n"
503 "\tgoto no_number;\n"
504 "if ((errno == ERANGE && n == _Minof(long)) || n E<lt> min)\n"
505 "\tgoto too_low;\n"
506 "if ((errno == ERANGE && n == _Maxof(long)) || n E<gt> max)\n"
507 "\tgoto too_high;\n"
508 msgstr ""
509 "errno = 0;\n"
510 "n = strtol(s, &end, base);\n"
511 "if (end == s)\n"
512 "\tga naar getal;\n"
513 "if ((errno == ERANGE && n == _Minof(long)) || n E<lt> min)\n"
514 "\tgoto te_laag;\n"
515 "if ((errno == ERANGE && n == _Maxof(long)) || n E<gt> max)\n"
516 "\tgoto te_hoog;\n"
517
518 #. type: SS
519 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
520 #: opensuse-tumbleweed
521 #, no-wrap
522 msgid "base"
523 msgstr "basis"
524
525 #. type: Plain text
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 msgid ""
529 "If the I<base> needs to be tested, it should be tested in a call where the "
530 "string is known to succeed. Otherwise, it's impossible to portably "
531 "differentiate the errors."
532 msgstr ""
533 "Indien I<base> getest moet worden, dan moet dit getest worden in een aanroep "
534 "waarbij de tekenreeks succesvol zal zijn. Anders is het onmogelijk om in "
535 "overdraagbare zin de fouten te onderscheiden."
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 #, no-wrap
541 msgid ""
542 "errno = 0;\n"
543 "strtol(\"0\", NULL, base);\n"
544 "if (errno == EINVAL)\n"
545 " goto unsupported_base;\n"
546 msgstr ""
547 "errno = 0;\n"
548 "strtol(\"0\", NULL, base);\n"
549 "if (errno == EINVAL)\n"
550 " goto unsupported_base;\n"
551
552 #. type: SH
553 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
554 #: opensuse-tumbleweed
555 #, no-wrap
556 msgid "BUGS"
557 msgstr "BUGS"
558
559 #. type: SS
560 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
561 #: opensuse-tumbleweed
562 #, no-wrap
563 msgid "White space"
564 msgstr "witruimte"
565
566 #. type: Plain text
567 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
568 #: opensuse-tumbleweed
569 msgid ""
570 "These functions silently accept leading white space. To reject white space, "
571 "call B<isspace>(3) before B<strtol>()."
572 msgstr ""
573 "Deze functies accepteren stilzwijgend witruimte voorvoegsels. Om witruimte "
574 "te weigeren, roep B<isspace>(3) aan voor B<strtol>()."
575
576 #. type: SH
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 #, no-wrap
580 msgid "EXAMPLES"
581 msgstr "VOORBEELDEN"
582
583 #. type: Plain text
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 msgid ""
587 "The program shown below demonstrates the use of B<strtol>(). The first "
588 "command-line argument specifies a string from which B<strtol>() should "
589 "parse a number. The second (optional) argument specifies the base to be "
590 "used for the conversion. (This argument is converted to numeric form using "
591 "B<atoi>(3), a function that performs no error checking and has a simpler "
592 "interface than B<strtol>().) Some examples of the results produced by this "
593 "program are the following:"
594 msgstr ""
595 "Het hieronder getoonde programma demonstreert het gebruik van B<strtol>(). "
596 "Het eerste argument op de commando regel bepaalt de tekenreeks waarvan "
597 "B<strtol>() het getal moet lezen. Het tweede (optionele) argument bepaalt "
598 "het grondtal dat moet worden gebruikt voor de conversie. (Dit argument wordt "
599 "geconverteerd naar een numerieke vorm door gebruik te maken van B<atoi>(3), "
600 "een functie die niet op fouten controleert en een eenvoudige interface heeft "
601 "dan B<strtol>().) Een aantal voorbeelden van de resultaten geproduceerd door "
602 "dit programma zijn de volgende:"
603
604 #. type: Plain text
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 #, no-wrap
608 msgid ""
609 "$B< ./a.out 123>\n"
610 "strtol() returned 123\n"
611 "$B< ./a.out \\[aq] 123\\[aq]>\n"
612 "strtol() returned 123\n"
613 "$B< ./a.out 123abc>\n"
614 "strtol() returned 123\n"
615 "Further characters after number: \"abc\"\n"
616 "$B< ./a.out 123abc 55>\n"
617 "strtol: Invalid argument\n"
618 "$B< ./a.out \\[aq]\\[aq]>\n"
619 "No digits were found\n"
620 "$B< ./a.out 4000000000>\n"
621 "strtol: Numerical result out of range\n"
622 msgstr ""
623 "$B< ./a.out 123>\n"
624 "strtol() returned 123\n"
625 "$B< ./a.out \\[aq] 123\\[aq]>\n"
626 "strtol() returned 123\n"
627 "$B< ./a.out 123abc>\n"
628 "strtol() returned 123\n"
629 "Further characters after number: \"abc\"\n"
630 "$B< ./a.out 123abc 55>\n"
631 "strtol: Invalid argument\n"
632 "$B< ./a.out \\[aq]\\[aq]>\n"
633 "No digits were found\n"
634 "$B< ./a.out 4000000000>\n"
635 "strtol: Numerical result out of range\n"
636
637 #. type: SS
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 #, no-wrap
641 msgid "Program source"
642 msgstr "Programma bron"
643
644 #. type: Plain text
645 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
646 #: opensuse-tumbleweed
647 #, no-wrap
648 msgid ""
649 "#include E<lt>errno.hE<gt>\n"
650 "#include E<lt>stdio.hE<gt>\n"
651 "#include E<lt>stdlib.hE<gt>\n"
652 "\\&\n"
653 "int\n"
654 "main(int argc, char *argv[])\n"
655 "{\n"
656 " int base;\n"
657 " char *endptr, *str;\n"
658 " long val;\n"
659 "\\&\n"
660 " if (argc E<lt> 2) {\n"
661 " fprintf(stderr, \"Usage: %s str [base]\\[rs]n\", argv[0]);\n"
662 " exit(EXIT_FAILURE);\n"
663 " }\n"
664 "\\&\n"
665 " str = argv[1];\n"
666 " base = (argc E<gt> 2) ? atoi(argv[2]) : 0;\n"
667 "\\&\n"
668 " errno = 0; /* To distinguish success/failure after call */\n"
669 " strtol(\"0\", NULL, base);\n"
670 " if (errno == EINVAL) {\n"
671 " perror(\"strtol\");\n"
672 " exit(EXIT_FAILURE);\n"
673 " }\n"
674 "\\&\n"
675 " errno = 0; /* To distinguish success/failure after call */\n"
676 " val = strtol(str, &endptr, base);\n"
677 "\\&\n"
678 " /* Check for various possible errors. */\n"
679 "\\&\n"
680 " if (errno == ERANGE) {\n"
681 " perror(\"strtol\");\n"
682 " exit(EXIT_FAILURE);\n"
683 " }\n"
684 "\\&\n"
685 " if (endptr == str) {\n"
686 " fprintf(stderr, \"No digits were found\\[rs]n\");\n"
687 " exit(EXIT_FAILURE);\n"
688 " }\n"
689 "\\&\n"
690 " /* If we got here, strtol() successfully parsed a number. */\n"
691 "\\&\n"
692 " printf(\"strtol() returned %ld\\[rs]n\", val);\n"
693 "\\&\n"
694 " if (*endptr != \\[aq]\\[rs]0\\[aq]) /* Not necessarily an error. */\n"
695 " printf(\"Further characters after number: \\[rs]\"%s\\[rs]\"\\[rs]n\", endptr);\n"
696 "\\&\n"
697 " exit(EXIT_SUCCESS);\n"
698 "}\n"
699 msgstr ""
700 "#include E<lt>errno.hE<gt>\n"
701 "#include E<lt>stdio.hE<gt>\n"
702 "#include E<lt>stdlib.hE<gt>\n"
703 "\\&\n"
704 "int\n"
705 "main(int argc, char *argv[])\n"
706 "{\n"
707 " int base;\n"
708 " char *endptr, *str;\n"
709 " long val;\n"
710 "\\&\n"
711 " if (argc E<lt> 2) {\n"
712 " fprintf(stderr, \"Usage: %s str [base]\\[rs]n\", argv[0]);\n"
713 " exit(EXIT_FAILURE);\n"
714 " }\n"
715 "\\&\n"
716 " str = argv[1];\n"
717 " base = (argc E<gt> 2) ? atoi(argv[2]) : 0;\n"
718 "\\&\n"
719 " errno = 0; /* To distinguish success/failure after call */\n"
720 " strtol(\"0\", NULL, base);\n"
721 " if (errno == EINVAL) {\n"
722 " perror(\"strtol\");\n"
723 " exit(EXIT_FAILURE);\n"
724 " }\n"
725 "\\&\n"
726 " errno = 0; /* To distinguish success/failure after call */\n"
727 " val = strtol(str, &endptr, base);\n"
728 "\\&\n"
729 " /* Check for various possible errors. */\n"
730 "\\&\n"
731 " if (errno == ERANGE) {\n"
732 " perror(\"strtol\");\n"
733 " exit(EXIT_FAILURE);\n"
734 " }\n"
735 "\\&\n"
736 " if (endptr == str) {\n"
737 " fprintf(stderr, \"No digits were found\\[rs]n\");\n"
738 " exit(EXIT_FAILURE);\n"
739 " }\n"
740 "\\&\n"
741 " /* If we got here, strtol() successfully parsed a number. */\n"
742 "\\&\n"
743 " printf(\"strtol() returned %ld\\[rs]n\", val);\n"
744 "\\&\n"
745 " if (*endptr != \\[aq]\\[rs]0\\[aq]) /* Not necessarily an error. */\n"
746 " printf(\"Further characters after number: \\[rs]\"%s\\[rs]\"\\[rs]n\", endptr);\n"
747 "\\&\n"
748 " exit(EXIT_SUCCESS);\n"
749 "}\n"
750
751 #. SRC END
752 #. type: SH
753 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
754 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
755 #, no-wrap
756 msgid "SEE ALSO"
757 msgstr "ZIE OOK"
758
759 #. type: Plain text
760 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
761 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
762 msgid ""
763 "B<atof>(3), B<atoi>(3), B<atol>(3), B<strtod>(3), B<strtoimax>(3), "
764 "B<strtoul>(3)"
765 msgstr ""
766 "B<atof>(3), B<atoi>(3), B<atol>(3), B<strtod>(3), B<strtoimax>(3), "
767 "B<strtoul>(3)"
768
769 #. type: TH
770 #: debian-trixie
771 #, no-wrap
772 msgid "2024-06-16"
773 msgstr "16 juni 2024"
774
775 #. type: TH
776 #: debian-trixie
777 #, no-wrap
778 msgid "Linux man-pages 6.9.1"
779 msgstr "Linux man-paginas 6.9.1"
780
781 #. type: Plain text
782 #: debian-trixie
783 msgid "Standard C library (I<libc>, I<-lc>)"
784 msgstr "Standaard C bibliotheek (I<libc>, I<-lc>)"
785
786 #. type: Plain text
787 #: debian-trixie fedora-44 fedora-rawhide
788 msgid ""
789 "The string may begin with an arbitrary amount of white space (as determined "
790 "by B<isspace>(3)) followed by a single optional \\[aq]+\\[aq] or \\[aq]-\\"
791 "[aq] sign. If I<base> is zero or 16, the string may then include a \"0x\" "
792 "or \"0X\" prefix, and the number will be read in base 16; otherwise, a zero "
793 "I<base> is taken as 10 (decimal) unless the next character is \\[aq]0\\[aq], "
794 "in which case it is taken as 8 (octal)."
795 msgstr ""
796 "De tekenreeks mag beginnen met een willekeurig aantal witruimtes (zoals "
797 "bepaald door B<isspace>(3)) gevolgd door een enkel optioneel teken \\[aq]+\\"
798 "[aq] or \\[aq]-\\[aq]. Als het I<grondtal> nul of 16 is, dan mag de string "
799 "\"0x\" of \"0X\" bevatten en wordt het getal gelezen met 16 als grondtal; in "
800 "andere gevallen zal het I<grondtal> 0 geïnterpreteerd worden als 10 "
801 "(decimaal) behalve als het volgende teken \\[aq]0\\[aq] is, in welk geval "
802 "het geïnterpreteerd wordt als 8 (octaal)."
803
804 #. type: Plain text
805 #: debian-trixie fedora-44 fedora-rawhide
806 msgid "C11, POSIX.1-2008."
807 msgstr "C11, POSIX.1-2008."
808
809 #. type: Plain text
810 #: debian-trixie fedora-44 fedora-rawhide
811 #, no-wrap
812 msgid ""
813 "#include E<lt>errno.hE<gt>\n"
814 "#include E<lt>stdio.hE<gt>\n"
815 "#include E<lt>stdlib.hE<gt>\n"
816 "\\&\n"
817 "int\n"
818 "main(int argc, char *argv[])\n"
819 "{\n"
820 " int base;\n"
821 " char *endptr, *str;\n"
822 " long val;\n"
823 "\\&\n"
824 " if (argc E<lt> 2) {\n"
825 " fprintf(stderr, \"Usage: %s str [base]\\[rs]n\", argv[0]);\n"
826 " exit(EXIT_FAILURE);\n"
827 " }\n"
828 "\\&\n"
829 " str = argv[1];\n"
830 " base = (argc E<gt> 2) ? atoi(argv[2]) : 0;\n"
831 "\\&\n"
832 " errno = 0; /* To distinguish success/failure after call */\n"
833 " strtol(\"0\", NULL, base);\n"
834 " if (errno == EINVAL) {\n"
835 " perror(\"strtol\");\n"
836 " exit(EXIT_FAILURE);\n"
837 " }\n"
838 "\\&\n"
839 " errno = 0; /* To distinguish success/failure after call */\n"
840 " val = strtol(str, &endptr, base);\n"
841 "\\&\n"
842 " /* Check for various possible errors. */\n"
843 "\\&\n"
844 " if (errno == ERANGE) {\n"
845 " perror(\"strtol\");\n"
846 " exit(EXIT_FAILURE);\n"
847 " }\n"
848 "\\&\n"
849 " if (endptr == str) {\n"
850 " fprintf(stderr, \"No digits were found\\[rs]n\");\n"
851 " exit(EXIT_FAILURE);\n"
852 " }\n"
853 "\\&\n"
854 " /* If we got here, strtol() successfully parsed a number. */\n"
855 "\\&\n"
856 " printf(\"strtol() returned %ld\\[rs]n\", val);\n"
857 "\\&\n"
858 " if (*endptr != \\[aq]\\[rs]0\\[aq]) /* Not necessarily an error... */\n"
859 " printf(\"Further characters after number: \\[rs]\"%s\\[rs]\"\\[rs]n\", endptr);\n"
860 "\\&\n"
861 " exit(EXIT_SUCCESS);\n"
862 "}\n"
863 msgstr ""
864 "#include E<lt>errno.hE<gt>\n"
865 "#include E<lt>stdio.hE<gt>\n"
866 "#include E<lt>stdlib.hE<gt>\n"
867 "\\&\n"
868 "int\n"
869 "main(int argc, char *argv[])\n"
870 "{\n"
871 " int base;\n"
872 " char *endptr, *str;\n"
873 " long val;\n"
874 "\\&\n"
875 " if (argc E<lt> 2) {\n"
876 " fprintf(stderr, \"Usage: %s str [base]\\en\", argv[0]);\n"
877 " exit(EXIT_FAILURE);\n"
878 " }\n"
879 "\\&\n"
880 " str = argv[1];\n"
881 " base = (argc E<gt> 2) ? atoi(argv[2]) : 0;\n"
882 "\\&\n"
883 " errno = 0; /* To distinguish success/failure after call */\n"
884 " strtol(\"0\", NULL, base);\n"
885 " if (errno == EINVAL) {\n"
886 " perror(\"strtol\");\n"
887 " exit(EXIT_FAILURE);\n"
888 " }\n"
889 "\\&\n"
890 " errno = 0; /* To distinguish success/failure after call */\n"
891 " val = strtol(str, &endptr, base);\n"
892 "\\&\n"
893 " /* Check for various possible errors. */\n"
894 "\\&\n"
895 " if (errno == ERANGE) {\n"
896 " perror(\"strtol\");\n"
897 " exit(EXIT_FAILURE);\n"
898 " }\n"
899 "\\&\n"
900 " if (endptr == str) {\n"
901 " fprintf(stderr, \"No digits were found\\en\");\n"
902 " exit(EXIT_FAILURE);\n"
903 " }\n"
904 "\\&\n"
905 " /* Als we hier kwamen, dan vond strtol() een getal . */\n"
906 "\\&\n"
907 " printf(\"strtol() returned %ld\\en\", val);\n"
908 "\\&\n"
909 " if (*endptr != \\[aq]\\[rs]0\\[aq]) /* Niet noodzakelijk een fout... */\n"
910 " printf(\"Meer tekens na het getal: \\e\"%s\\[rs]\"\\[rs]n\", endptr);\n"
911 "\\&\n"
912 " exit(EXIT_SUCCESS);\n"
913 "}\n"
914
915 #. type: TH
916 #: fedora-44 fedora-rawhide
917 #, no-wrap
918 msgid "2024-07-23"
919 msgstr "23 juli 2024"
920
921 #. type: TH
922 #: fedora-44 fedora-rawhide
923 #, no-wrap
924 msgid "Linux man-pages 6.13"
925 msgstr "Linux man-paginas 6.13"
926
927 #. type: TH
928 #: mageia-cauldron
929 #, no-wrap
930 msgid "Linux man-pages 6.17"
931 msgstr "Linux man-paginas 6.17"
932
933 #. type: TH
934 #: opensuse-leap-16-1 opensuse-tumbleweed
935 #, no-wrap
936 msgid "Linux man-pages (unreleased)"
937 msgstr "Linux man-paginas (niet vrijgegeven)"