diff options
Diffstat (limited to 'po/nl/man3/strtol.3.po')
-rw-r--r-- | po/nl/man3/strtol.3.po | 255 |
1 files changed, 68 insertions, 187 deletions
diff --git a/po/nl/man3/strtol.3.po b/po/nl/man3/strtol.3.po index c2b94475..c5f291fe 100644 --- a/po/nl/man3/strtol.3.po +++ b/po/nl/man3/strtol.3.po @@ -3,12 +3,12 @@ # Copyright © of this file: # # Mario Blättermann <mario.blaettermann@gmail.com>, 2019. -# Luc Castermans <luc.castermans@gmail.com>, 2021-2023. +# Luc Castermans <luc.castermans@gmail.com>, 2021-2023, 2024. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 2.15\n" -"POT-Creation-Date: 2024-03-01 17:09+0100\n" -"PO-Revision-Date: 2023-11-09 20:39+0100\n" +"POT-Creation-Date: 2024-06-01 06:24+0200\n" +"PO-Revision-Date: 2024-05-21 20:11+0200\n" "Last-Translator: Luc Castermans <luc.castermans@gmail.com>\n" "Language-Team: Dutch <>\n" "Language: nl_NL\n" @@ -26,16 +26,17 @@ msgid "strtol" msgstr "strtol" #. type: TH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable opensuse-tumbleweed #, no-wrap -msgid "2023-12-19" -msgstr "19 december 2023" +msgid "2024-05-02" +msgstr "2 mei 2024" #. type: TH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron -#, no-wrap -msgid "Linux man-pages 6.06" -msgstr "Linux man-pages 6.06" +#: archlinux debian-unstable +#, fuzzy, no-wrap +#| msgid "Linux man-pages 6.7" +msgid "Linux man-pages 6.8" +msgstr "Linux man-pages 6.7" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide @@ -173,14 +174,8 @@ msgstr "" "vertegenwoordigd 11, en zo voorts, met \\[aq]Z\\[aq] vertegenwoordigde 35.)" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron -#, fuzzy -#| msgid "" -#| "If I<endptr> is not NULL, B<strtol>() stores the address of the first " -#| "invalid character in I<*endptr>. If there were no digits at all, " -#| "B<strtol>() stores the original value of I<nptr> in I<*endptr> (and " -#| "returns 0). In particular, if I<*nptr> is not \\[aq]\\e0\\[aq] but " -#| "I<**endptr> is \\[aq]\\e0\\[aq] on return, the entire string is valid." +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "If I<endptr> is not NULL, and the I<base> is supported, B<strtol>() stores " "the address of the first invalid character in I<*endptr>. If there were no " @@ -190,7 +185,7 @@ msgid "" "string is valid." msgstr "" "Zodra I<endptr> niet NULL is, zal B<strtol> het adres van het eerste " -"ongeldige teken in I<*endptr> opslaan. Als er geen enkel cijfer was dan " +"ongeldige teken in I<*endptr> opslaan. Als er geen enkel cijfer was, dan " "bewaart B<strtol>() de originele waarde van I<nptr> in I<*endptr> (en geeft " "een 0 terug). In het bijzonder, als I<*nptr> niet gelijk is aan " "\\[aq]\\e0\\[aq] maar I<**endptr> is \\[aq]\\e0\\[aq] bij terugkeer, dan is " @@ -239,9 +234,10 @@ msgid "ERRORS" msgstr "FOUTEN" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "This function does not modify I<errno> on success." -msgstr "" +msgstr "Deze functie verandert I<errno> niet bij succes." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide @@ -410,14 +406,8 @@ msgid "NOTES" msgstr "OPMERKINGEN" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron -#, fuzzy -#| msgid "" -#| "Since B<strtol>() can legitimately return 0, B<LONG_MAX>, or B<LONG_MIN> " -#| "(B<LLONG_MAX> or B<LLONG_MIN> for B<strtoll>()) on both success and " -#| "failure, the calling program should set I<errno> to 0 before the call, " -#| "and then determine if an error occurred by checking whether I<errno> has " -#| "a nonzero value after the call." +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "Since B<strtol>() can legitimately return 0, B<LONG_MAX>, or B<LONG_MIN> " "(B<LLONG_MAX> or B<LLONG_MIN> for B<strtoll>()) on both success and " @@ -428,8 +418,8 @@ msgstr "" "Omdat B<strtol>() legitiem 0, B<LONG_MAX>, of B<LONG_MIN> (B<LLONG_MAX> of " "B<LLONG_MIN> voor B<strtoll>()) kan retourneren bij zowel succes of falen, " "moet het aanroepende programma I<errno> op 0 zetten voor de aanroep, en " -"vervolgens bepalen of een fout optrad door te controleren of I<errno> een " -"niet-nul waarde heeft na de aanroep." +"vervolgens bepalen of een fout optrad door te controleren of I<errno == " +"ERANGE> heeft na de aanroep." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide @@ -468,21 +458,27 @@ msgstr "" "B<strtol>()." #. type: SH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "CAVEATS" -msgstr "" +msgstr "OPMERKINGEN" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "If the I<base> needs to be tested, it should be tested in a call where the " "string is known to succeed. Otherwise, it's impossible to portably " "differentiate the errors." msgstr "" +"Indien I<base> getest moet worden, dan moet dit getest worden in een aanroep " +"waarbij de tekenreeks succesvol zal zijn. Anders is het onmogelijk om in " +"overdraagbare zin de fouten te onderscheiden." #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "" "errno = 0;\n" @@ -490,6 +486,10 @@ msgid "" "if (errno == EINVAL)\n" " goto unsupported_base;\n" msgstr "" +"errno = 0;\n" +"strtol(\"0\", NULL, base);\n" +"if (errno == EINVAL)\n" +" goto unsupported_base;\n" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide @@ -560,53 +560,9 @@ msgid "Program source" msgstr "Programma bron" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron -#, fuzzy, no-wrap -#| msgid "" -#| "#include E<lt>errno.hE<gt>\n" -#| "#include E<lt>limits.hE<gt>\n" -#| "#include E<lt>stdio.hE<gt>\n" -#| "#include E<lt>stdlib.hE<gt>\n" -#| "\\&\n" -#| "int\n" -#| "main(int argc, char *argv[])\n" -#| "{\n" -#| " int base;\n" -#| " char *endptr, *str;\n" -#| " long val;\n" -#| "\\&\n" -#| " if (argc E<lt> 2) {\n" -#| " fprintf(stderr, \"Usage: %s str [base]\\en\", argv[0]);\n" -#| " exit(EXIT_FAILURE);\n" -#| " }\n" -#| "\\&\n" -#| " str = argv[1];\n" -#| " base = (argc E<gt> 2) ? atoi(argv[2]) : 0;\n" -#| "\\&\n" -#| " errno = 0; /* To distinguish success/failure after call */\n" -#| " val = strtol(str, &endptr, base);\n" -#| "\\&\n" -#| " /* Check for various possible errors. */\n" -#| "\\&\n" -#| " if (errno != 0) {\n" -#| " perror(\"strtol\");\n" -#| " exit(EXIT_FAILURE);\n" -#| " }\n" -#| "\\&\n" -#| " if (endptr == str) {\n" -#| " fprintf(stderr, \"No digits were found\\en\");\n" -#| " exit(EXIT_FAILURE);\n" -#| " }\n" -#| "\\&\n" -#| " /* If we got here, strtol() successfully parsed a number. */\n" -#| "\\&\n" -#| " printf(\"strtol() returned %ld\\en\", val);\n" -#| "\\&\n" -#| " if (*endptr != \\[aq]\\e0\\[aq]) /* Not necessarily an error... */\n" -#| " printf(\"Further characters after number: \\e\"%s\\e\"\\en\", endptr);\n" -#| "\\&\n" -#| " exit(EXIT_SUCCESS);\n" -#| "}\n" +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed +#, no-wrap msgid "" "#include E<lt>errno.hE<gt>\n" "#include E<lt>stdio.hE<gt>\n" @@ -660,7 +616,6 @@ msgid "" "}\n" msgstr "" "#include E<lt>errno.hE<gt>\n" -"#include E<lt>limits.hE<gt>\n" "#include E<lt>stdio.hE<gt>\n" "#include E<lt>stdlib.hE<gt>\n" "\\&\n" @@ -680,11 +635,18 @@ msgstr "" " base = (argc E<gt> 2) ? atoi(argv[2]) : 0;\n" "\\&\n" " errno = 0; /* To distinguish success/failure after call */\n" +" strtol(\"0\", NULL, base);\n" +" if (errno == EINVAL) {\n" +" perror(\"strtol\");\n" +" exit(EXIT_FAILURE);\n" +" }\n" +"\\&\n" +" errno = 0; /* To distinguish success/failure after call */\n" " val = strtol(str, &endptr, base);\n" "\\&\n" " /* Check for various possible errors. */\n" "\\&\n" -" if (errno != 0) {\n" +" if (errno == ERANGE) {\n" " perror(\"strtol\");\n" " exit(EXIT_FAILURE);\n" " }\n" @@ -694,12 +656,12 @@ msgstr "" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" -" /* If we got here, strtol() successfully parsed a number. */\n" +" /* Als we hier kwamen, dan vond strtol() een getal . */\n" "\\&\n" " printf(\"strtol() returned %ld\\en\", val);\n" "\\&\n" -" if (*endptr != \\[aq]\\e0\\[aq]) /* Not necessarily an error... */\n" -" printf(\"Further characters after number: \\e\"%s\\e\"\\en\", endptr);\n" +" if (*endptr != \\[aq]\\e0\\[aq]) /* Niet noodzakelijk een fout... */\n" +" printf(\"Meer tekens na het getal: \\e\"%s\\e\"\\en\", endptr);\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" @@ -735,7 +697,7 @@ msgid "Linux man-pages 6.03" msgstr "Linux man-pagina's 6.03" #. type: Plain text -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 msgid "" "If I<endptr> is not NULL, B<strtol>() stores the address of the first " "invalid character in I<*endptr>. If there were no digits at all, " @@ -761,7 +723,7 @@ msgid "B<strtoll>(): POSIX.1-2001, POSIX.1-2008, C99." msgstr "B<strtoll>(): POSIX.1-2001, POSIX.1-2008, C99." #. type: Plain text -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 msgid "" "Since B<strtol>() can legitimately return 0, B<LONG_MAX>, or B<LONG_MIN> " "(B<LLONG_MAX> or B<LLONG_MIN> for B<strtoll>()) on both success and " @@ -908,110 +870,22 @@ msgstr "" "}\n" #. type: TH -#: debian-unstable opensuse-tumbleweed +#: fedora-40 fedora-rawhide mageia-cauldron #, no-wrap -msgid "2023-07-20" -msgstr "20 juli 2023" +msgid "2023-12-19" +msgstr "19 december 2023" #. type: TH -#: debian-unstable opensuse-tumbleweed +#: fedora-40 mageia-cauldron #, no-wrap -msgid "Linux man-pages 6.05.01" -msgstr "Linux man-pagina's 6.05.01" +msgid "Linux man-pages 6.06" +msgstr "Linux man-pages 6.06" -#. type: Plain text -#: debian-unstable opensuse-tumbleweed +#. type: TH +#: fedora-rawhide #, no-wrap -msgid "" -"#include E<lt>errno.hE<gt>\n" -"#include E<lt>limits.hE<gt>\n" -"#include E<lt>stdio.hE<gt>\n" -"#include E<lt>stdlib.hE<gt>\n" -"\\&\n" -"int\n" -"main(int argc, char *argv[])\n" -"{\n" -" int base;\n" -" char *endptr, *str;\n" -" long val;\n" -"\\&\n" -" if (argc E<lt> 2) {\n" -" fprintf(stderr, \"Usage: %s str [base]\\en\", argv[0]);\n" -" exit(EXIT_FAILURE);\n" -" }\n" -"\\&\n" -" str = argv[1];\n" -" base = (argc E<gt> 2) ? atoi(argv[2]) : 0;\n" -"\\&\n" -" errno = 0; /* To distinguish success/failure after call */\n" -" val = strtol(str, &endptr, base);\n" -"\\&\n" -" /* Check for various possible errors. */\n" -"\\&\n" -" if (errno != 0) {\n" -" perror(\"strtol\");\n" -" exit(EXIT_FAILURE);\n" -" }\n" -"\\&\n" -" if (endptr == str) {\n" -" fprintf(stderr, \"No digits were found\\en\");\n" -" exit(EXIT_FAILURE);\n" -" }\n" -"\\&\n" -" /* If we got here, strtol() successfully parsed a number. */\n" -"\\&\n" -" printf(\"strtol() returned %ld\\en\", val);\n" -"\\&\n" -" if (*endptr != \\[aq]\\e0\\[aq]) /* Not necessarily an error... */\n" -" printf(\"Further characters after number: \\e\"%s\\e\"\\en\", endptr);\n" -"\\&\n" -" exit(EXIT_SUCCESS);\n" -"}\n" -msgstr "" -"#include E<lt>errno.hE<gt>\n" -"#include E<lt>limits.hE<gt>\n" -"#include E<lt>stdio.hE<gt>\n" -"#include E<lt>stdlib.hE<gt>\n" -"\\&\n" -"int\n" -"main(int argc, char *argv[])\n" -"{\n" -" int base;\n" -" char *endptr, *str;\n" -" long val;\n" -"\\&\n" -" if (argc E<lt> 2) {\n" -" fprintf(stderr, \"Usage: %s str [base]\\en\", argv[0]);\n" -" exit(EXIT_FAILURE);\n" -" }\n" -"\\&\n" -" str = argv[1];\n" -" base = (argc E<gt> 2) ? atoi(argv[2]) : 0;\n" -"\\&\n" -" errno = 0; /* To distinguish success/failure after call */\n" -" val = strtol(str, &endptr, base);\n" -"\\&\n" -" /* Check for various possible errors. */\n" -"\\&\n" -" if (errno != 0) {\n" -" perror(\"strtol\");\n" -" exit(EXIT_FAILURE);\n" -" }\n" -"\\&\n" -" if (endptr == str) {\n" -" fprintf(stderr, \"No digits were found\\en\");\n" -" exit(EXIT_FAILURE);\n" -" }\n" -"\\&\n" -" /* If we got here, strtol() successfully parsed a number. */\n" -"\\&\n" -" printf(\"strtol() returned %ld\\en\", val);\n" -"\\&\n" -" if (*endptr != \\[aq]\\e0\\[aq]) /* Not necessarily an error... */\n" -" printf(\"Further characters after number: \\e\"%s\\e\"\\en\", endptr);\n" -"\\&\n" -" exit(EXIT_SUCCESS);\n" -"}\n" +msgid "Linux man-pages 6.7" +msgstr "Linux man-pages 6.7" #. type: TH #: opensuse-leap-15-6 @@ -1024,3 +898,10 @@ msgstr "30 maart 2023" #, no-wrap msgid "Linux man-pages 6.04" msgstr "Linux man-pages 6.04" + +#. type: TH +#: opensuse-tumbleweed +#, fuzzy, no-wrap +#| msgid "Linux man-pages 6.7" +msgid "Linux man-pages (unreleased)" +msgstr "Linux man-pages 6.7" |