summaryrefslogtreecommitdiffstats
path: root/po/nl/man2/mmap.2.po
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:52:03 +0000
commit932e4432596447eb9331cc2a2bb74a26a35b4efc (patch)
tree95161711ea07fd64f0c82d6e7943024c033dd5a8 /po/nl/man2/mmap.2.po
parentAdding debian version 4.22.0-1. (diff)
downloadmanpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.tar.xz
manpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.zip
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'po/nl/man2/mmap.2.po')
-rw-r--r--po/nl/man2/mmap.2.po298
1 files changed, 262 insertions, 36 deletions
diff --git a/po/nl/man2/mmap.2.po b/po/nl/man2/mmap.2.po
index 06aa8983..4775d46c 100644
--- a/po/nl/man2/mmap.2.po
+++ b/po/nl/man2/mmap.2.po
@@ -8,8 +8,8 @@
msgid ""
msgstr ""
"Project-Id-Version: manpages-l10n 2.15\n"
-"POT-Creation-Date: 2024-03-01 17:01+0100\n"
-"PO-Revision-Date: 2024-01-10 21:51+0100\n"
+"POT-Creation-Date: 2024-06-01 06:03+0200\n"
+"PO-Revision-Date: 2024-05-20 21:08+0200\n"
"Last-Translator: Luc Castermans <luc.castermans@gmail.com>\n"
"Language-Team: Dutch <>\n"
"Language: nl_NL\n"
@@ -27,16 +27,17 @@ msgid "mmap"
msgstr "mmap"
#. type: TH
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable opensuse-tumbleweed
#, no-wrap
-msgid "2023-10-31"
-msgstr "31 oktober 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
@@ -619,18 +620,18 @@ msgstr ""
"voor meer informatie, en ook NOTITIES, hieronder."
#. type: TP
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
-#, fuzzy, no-wrap
-#| msgid "B<MAP_SHARED>"
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
+#, no-wrap
msgid "B<MAP_HUGE_2MB>"
-msgstr "B<MAP_SHARED>"
+msgstr "B<MAP_HUGE_2MB>"
#. type: TQ
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
-#, fuzzy, no-wrap
-#| msgid "B<MAP_HUGETLB> (since Linux 2.6.32)"
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
+#, no-wrap
msgid "B<MAP_HUGE_1GB> (since Linux 3.8)"
-msgstr "B<MAP_HUGETLB> (sinds Linux 2.6.32)"
+msgstr "B<MAP_HUGE_1GB> (sinds Linux 3.8)"
#. See https://lwn.net/Articles/533499/
#. type: Plain text
@@ -1222,13 +1223,8 @@ msgid "The operation was prevented by a file seal; see B<fcntl>(2)."
msgstr "De operatie werd voorkomen door een bestandszegel; zie B<fcntl>(2)."
#. type: Plain text
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
-#, fuzzy
-#| msgid ""
-#| "The B<MAP_HUGETLB> flag was specified, but the caller was not privileged "
-#| "(did not have the B<CAP_IPC_LOCK> capability) and is not a member of the "
-#| "I<sysctl_hugetlb_shm_group> group; see the description of I</proc/sys/vm/"
-#| "sysctl_hugetlb_shm_group> in"
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
msgid ""
"The B<MAP_HUGETLB> flag was specified, but the caller was not privileged "
"(did not have the B<CAP_IPC_LOCK> capability) and is not a member of the "
@@ -1238,7 +1234,7 @@ msgstr ""
"De B<MAP_HUGETLB> vlag werd opgegeven, maar de aanroeper was niet gerechtigd "
"(had niet de B<CAP_IPC_LOCK> capaciteit) en is geen lid van de "
"I<sysctl_hugetlb_shm_group> groep; zie de beschrijving van I</proc/sys/vm/"
-"sysctl_hugetlb_shm_group> in"
+"sysctl_hugetlb_shm_group> in B<proc_sys>(5)."
#. type: TP
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
@@ -1799,15 +1795,86 @@ msgid "Program source"
msgstr "Programma bron"
#. type: Plain text
-#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
-#: opensuse-tumbleweed
-#, no-wrap
+#: archlinux debian-unstable opensuse-tumbleweed
+#, fuzzy, no-wrap
+#| msgid ""
+#| "#include E<lt>fcntl.hE<gt>\n"
+#| "#include E<lt>stdio.hE<gt>\n"
+#| "#include E<lt>stdlib.hE<gt>\n"
+#| "#include E<lt>sys/mman.hE<gt>\n"
+#| "#include E<lt>sys/stat.hE<gt>\n"
+#| "#include E<lt>unistd.hE<gt>\n"
+#| "\\&\n"
+#| "#define handle_error(msg) \\e\n"
+#| " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
+#| "\\&\n"
+#| "int\n"
+#| "main(int argc, char *argv[])\n"
+#| "{\n"
+#| " int fd;\n"
+#| " char *addr;\n"
+#| " off_t offset, pa_offset;\n"
+#| " size_t length;\n"
+#| " ssize_t s;\n"
+#| " struct stat sb;\n"
+#| "\\&\n"
+#| " if (argc E<lt> 3 || argc E<gt> 4) {\n"
+#| " fprintf(stderr, \"%s file offset [length]\\en\", argv[0]);\n"
+#| " exit(EXIT_FAILURE);\n"
+#| " }\n"
+#| "\\&\n"
+#| " fd = open(argv[1], O_RDONLY);\n"
+#| " if (fd == -1)\n"
+#| " handle_error(\"open\");\n"
+#| "\\&\n"
+#| " if (fstat(fd, &sb) == -1) /* To obtain file size */\n"
+#| " handle_error(\"fstat\");\n"
+#| "\\&\n"
+#| " offset = atoi(argv[2]);\n"
+#| " pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n"
+#| " /* offset for mmap() must be page aligned */\n"
+#| "\\&\n"
+#| " if (offset E<gt>= sb.st_size) {\n"
+#| " fprintf(stderr, \"offset is past end of file\\en\");\n"
+#| " exit(EXIT_FAILURE);\n"
+#| " }\n"
+#| "\\&\n"
+#| " if (argc == 4) {\n"
+#| " length = atoi(argv[3]);\n"
+#| " if (offset + length E<gt> sb.st_size)\n"
+#| " length = sb.st_size - offset;\n"
+#| " /* Can\\[aq]t display bytes past end of file */\n"
+#| "\\&\n"
+#| " } else { /* No length arg ==E<gt> display to end of file */\n"
+#| " length = sb.st_size - offset;\n"
+#| " }\n"
+#| "\\&\n"
+#| " addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n"
+#| " MAP_PRIVATE, fd, pa_offset);\n"
+#| " if (addr == MAP_FAILED)\n"
+#| " handle_error(\"mmap\");\n"
+#| "\\&\n"
+#| " s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n"
+#| " if (s != length) {\n"
+#| " if (s == -1)\n"
+#| " handle_error(\"write\");\n"
+#| "\\&\n"
+#| " fprintf(stderr, \"partial write\");\n"
+#| " exit(EXIT_FAILURE);\n"
+#| " }\n"
+#| "\\&\n"
+#| " munmap(addr, length + offset - pa_offset);\n"
+#| " close(fd);\n"
+#| "\\&\n"
+#| " exit(EXIT_SUCCESS);\n"
+#| "}\n"
msgid ""
"#include E<lt>fcntl.hE<gt>\n"
"#include E<lt>stdio.hE<gt>\n"
"#include E<lt>stdlib.hE<gt>\n"
"#include E<lt>sys/mman.hE<gt>\n"
"#include E<lt>sys/stat.hE<gt>\n"
+"#include E<lt>sys/types.hE<gt>\n"
"#include E<lt>unistd.hE<gt>\n"
"\\&\n"
"#define handle_error(msg) \\e\n"
@@ -1996,13 +2063,13 @@ msgid "Linux man-pages 6.03"
msgstr "Linux man-pagina's 6.03"
#. type: TP
-#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed
+#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "B<MAP_HUGE_2MB>, B<MAP_HUGE_1GB> (since Linux 3.8)"
msgstr "B<MAP_HUGE_2MB>, B<MAP_HUGE_1GB> (sinds Linux 3.8)"
#. type: Plain text
-#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed
+#: debian-bookworm opensuse-leap-15-6
msgid ""
"The B<MAP_HUGETLB> flag was specified, but the caller was not privileged "
"(did not have the B<CAP_IPC_LOCK> capability) and is not a member of the "
@@ -2266,16 +2333,168 @@ msgstr ""
"maps>, I</proc/[pid]/map_files>, en I</proc/[pid]/smaps>."
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-40 fedora-rawhide mageia-cauldron
+#, no-wrap
+msgid "2023-10-31"
+msgstr "31 oktober 2023"
+
+#. type: TH
+#: fedora-40 mageia-cauldron
#, no-wrap
-msgid "2023-07-20"
-msgstr "20 juli 2023"
+msgid "Linux man-pages 6.06"
+msgstr "Linux man-pages 6.06"
+
+#. type: Plain text
+#: fedora-40 fedora-rawhide mageia-cauldron
+#, no-wrap
+msgid ""
+"#include E<lt>fcntl.hE<gt>\n"
+"#include E<lt>stdio.hE<gt>\n"
+"#include E<lt>stdlib.hE<gt>\n"
+"#include E<lt>sys/mman.hE<gt>\n"
+"#include E<lt>sys/stat.hE<gt>\n"
+"#include E<lt>unistd.hE<gt>\n"
+"\\&\n"
+"#define handle_error(msg) \\e\n"
+" do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
+"\\&\n"
+"int\n"
+"main(int argc, char *argv[])\n"
+"{\n"
+" int fd;\n"
+" char *addr;\n"
+" off_t offset, pa_offset;\n"
+" size_t length;\n"
+" ssize_t s;\n"
+" struct stat sb;\n"
+"\\&\n"
+" if (argc E<lt> 3 || argc E<gt> 4) {\n"
+" fprintf(stderr, \"%s file offset [length]\\en\", argv[0]);\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
+"\\&\n"
+" fd = open(argv[1], O_RDONLY);\n"
+" if (fd == -1)\n"
+" handle_error(\"open\");\n"
+"\\&\n"
+" if (fstat(fd, &sb) == -1) /* To obtain file size */\n"
+" handle_error(\"fstat\");\n"
+"\\&\n"
+" offset = atoi(argv[2]);\n"
+" pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n"
+" /* offset for mmap() must be page aligned */\n"
+"\\&\n"
+" if (offset E<gt>= sb.st_size) {\n"
+" fprintf(stderr, \"offset is past end of file\\en\");\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
+"\\&\n"
+" if (argc == 4) {\n"
+" length = atoi(argv[3]);\n"
+" if (offset + length E<gt> sb.st_size)\n"
+" length = sb.st_size - offset;\n"
+" /* Can\\[aq]t display bytes past end of file */\n"
+"\\&\n"
+" } else { /* No length arg ==E<gt> display to end of file */\n"
+" length = sb.st_size - offset;\n"
+" }\n"
+"\\&\n"
+" addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n"
+" MAP_PRIVATE, fd, pa_offset);\n"
+" if (addr == MAP_FAILED)\n"
+" handle_error(\"mmap\");\n"
+"\\&\n"
+" s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n"
+" if (s != length) {\n"
+" if (s == -1)\n"
+" handle_error(\"write\");\n"
+"\\&\n"
+" fprintf(stderr, \"partial write\");\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
+"\\&\n"
+" munmap(addr, length + offset - pa_offset);\n"
+" close(fd);\n"
+"\\&\n"
+" exit(EXIT_SUCCESS);\n"
+"}\n"
+msgstr ""
+"#include E<lt>fcntl.hE<gt>\n"
+"#include E<lt>stdio.hE<gt>\n"
+"#include E<lt>stdlib.hE<gt>\n"
+"#include E<lt>sys/mman.hE<gt>\n"
+"#include E<lt>sys/stat.hE<gt>\n"
+"#include E<lt>unistd.hE<gt>\n"
+"\\&\n"
+"#define handle_error(msg) \\e\n"
+" do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
+"\\&\n"
+"int\n"
+"main(int argc, char *argv[])\n"
+"{\n"
+" int fd;\n"
+" char *addr;\n"
+" off_t offset, pa_offset;\n"
+" size_t length;\n"
+" ssize_t s;\n"
+" struct stat sb;\n"
+"\\&\n"
+" if (argc E<lt> 3 || argc E<gt> 4) {\n"
+" fprintf(stderr, \"%s bestand plaats [lengte]\\en\", argv[0]);\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
+"\\&\n"
+" fd = open(argv[1], O_RDONLY);\n"
+" if (fd == -1)\n"
+" handle_error(\"open\");\n"
+"\\&\n"
+" if (fstat(fd, &sb) == -1) /* Om bestandsgrootte te verkrijgen */\n"
+" handle_error(\"fstat\");\n"
+"\\&\n"
+" offset = atoi(argv[2]);\n"
+" pa_offset = offset & \\[ti](sysconf(_SC_PAGE_SIZE) - 1);\n"
+" /* plaats voor mmap() dient aangepast te zijn aan een pagina */\n"
+"\\&\n"
+" if (offset E<gt>= sb.st_size) {\n"
+" fprintf(stderr, \"plaats is na het einde van het bestand\\en\");\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
+"\\&\n"
+" if (argc == 4) {\n"
+" length = atoi(argv[3]);\n"
+" if (offset + length E<gt> sb.st_size)\n"
+" length = sb.st_size - offset;\n"
+" /* Can\\[aq]t display bytes past end of file */\n"
+"\\&\n"
+" } else { /* No length arg ==E<gt> display to end of file */\n"
+" length = sb.st_size - offset;\n"
+" }\n"
+"\\&\n"
+" addr = mmap(NULL, length + offset - pa_offset, PROT_READ,\n"
+" MAP_PRIVATE, fd, pa_offset);\n"
+" if (addr == MAP_FAILED)\n"
+" handle_error(\"mmap\");\n"
+"\\&\n"
+" s = write(STDOUT_FILENO, addr + offset - pa_offset, length);\n"
+" if (s != length) {\n"
+" if (s == -1)\n"
+" handle_error(\"write\");\n"
+"\\&\n"
+" fprintf(stderr, \"partial write\");\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
+"\\&\n"
+" munmap(addr, length + offset - pa_offset);\n"
+" close(fd);\n"
+"\\&\n"
+" exit(EXIT_SUCCESS);\n"
+"}\n"
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-rawhide
#, no-wrap
-msgid "Linux man-pages 6.05.01"
-msgstr "Linux man-pagina's 6.05.01"
+msgid "Linux man-pages 6.7"
+msgstr "Linux man-pages 6.7"
#. type: TH
#: opensuse-leap-15-6
@@ -2288,3 +2507,10 @@ msgstr "3 april 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"