diff options
Diffstat (limited to 'po/es/man2/mmap.2.po')
-rw-r--r-- | po/es/man2/mmap.2.po | 135 |
1 files changed, 113 insertions, 22 deletions
diff --git a/po/es/man2/mmap.2.po b/po/es/man2/mmap.2.po index a9e0ab8e..39bdb5bc 100644 --- a/po/es/man2/mmap.2.po +++ b/po/es/man2/mmap.2.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" -"POT-Creation-Date: 2024-03-01 17:01+0100\n" +"POT-Creation-Date: 2024-06-01 06:03+0200\n" "PO-Revision-Date: 2004-09-17 19:53+0200\n" "Last-Translator: Miguel Pérez Ibars <mpi79470@alu.um.es>\n" "Language-Team: Spanish <debian-l10n-spanish@lists.debian.org>\n" @@ -25,16 +25,16 @@ msgid "mmap" msgstr "" #. type: TH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable opensuse-tumbleweed #, no-wrap -msgid "2023-10-31" -msgstr "31 Octubre 2023" +msgid "2024-05-02" +msgstr "2 Mayo 2024" #. type: TH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable #, no-wrap -msgid "Linux man-pages 6.06" -msgstr "Páginas de manual de Linux 6.06" +msgid "Linux man-pages 6.8" +msgstr "Páginas de Manual de Linux 6.8" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide @@ -532,14 +532,16 @@ msgid "" msgstr "" #. type: TP -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B<MAP_SHARED>" msgid "B<MAP_HUGE_2MB>" msgstr "B<MAP_SHARED>" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B<MAP_HUGETLB> (since Linux 2.6.32)" msgid "B<MAP_HUGE_1GB> (since Linux 3.8)" @@ -1089,7 +1091,8 @@ msgid "The operation was prevented by a file seal; see B<fcntl>(2)." msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: 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 " @@ -1583,8 +1586,7 @@ msgid "Program source" msgstr "Código fuente" #. type: Plain text -#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron -#: opensuse-tumbleweed +#: archlinux debian-unstable opensuse-tumbleweed #, no-wrap msgid "" "#include E<lt>fcntl.hE<gt>\n" @@ -1592,6 +1594,7 @@ msgid "" "#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" @@ -1718,16 +1721,16 @@ msgstr "5 Febrero 2023" #: debian-bookworm #, no-wrap msgid "Linux man-pages 6.03" -msgstr "Páginas de manual de Linux 6.03" +msgstr "Páginas de Manual de Linux 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> (desde 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 " @@ -1967,16 +1970,98 @@ msgid "" msgstr "" #. type: TH -#: debian-unstable opensuse-tumbleweed +#: fedora-40 fedora-rawhide mageia-cauldron #, no-wrap -msgid "2023-07-20" -msgstr "20 Julio 2023" +msgid "2023-10-31" +msgstr "31 Octubre 2023" + +#. type: TH +#: fedora-40 mageia-cauldron +#, no-wrap +msgid "Linux man-pages 6.06" +msgstr "Páginas de Manual de Linux 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 "" #. type: TH -#: debian-unstable opensuse-tumbleweed +#: fedora-rawhide #, no-wrap -msgid "Linux man-pages 6.05.01" -msgstr "Páginas de manual de Linux 6.05.01" +msgid "Linux man-pages 6.7" +msgstr "Páginas de Manual de Linux 6.7" #. type: TH #: opensuse-leap-15-6 @@ -1988,4 +2073,10 @@ msgstr "3 Abril 2023" #: opensuse-leap-15-6 #, no-wrap msgid "Linux man-pages 6.04" -msgstr "Linux man-pages 6.04" +msgstr "Páginas de Manual de Linux 6.04" + +#. type: TH +#: opensuse-tumbleweed +#, no-wrap +msgid "Linux man-pages (unreleased)" +msgstr "Páginas de Manual de Linux (no publicadas)" |