summaryrefslogtreecommitdiffstats
path: root/po/es/man2/getdents.2.po
diff options
context:
space:
mode:
Diffstat (limited to 'po/es/man2/getdents.2.po')
-rw-r--r--po/es/man2/getdents.2.po242
1 files changed, 214 insertions, 28 deletions
diff --git a/po/es/man2/getdents.2.po b/po/es/man2/getdents.2.po
index 6b83ed8c..39ece0ef 100644
--- a/po/es/man2/getdents.2.po
+++ b/po/es/man2/getdents.2.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: manpages-l10n\n"
-"POT-Creation-Date: 2024-03-01 16:57+0100\n"
+"POT-Creation-Date: 2024-06-01 05:52+0200\n"
"PO-Revision-Date: 2021-01-30 16:17+0100\n"
"Last-Translator: Gerardo Aburruzaga García <gerardo.aburruzaga@uca.es>\n"
"Language-Team: Spanish <debian-l10n-spanish@lists.debian.org>\n"
@@ -26,16 +26,16 @@ msgid "getdents"
msgstr "getdents()"
#. 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
@@ -183,13 +183,12 @@ msgid "The I<linux_dirent> structure is declared as follows:"
msgstr "La estructura I<linux_dirent> se declara de la siguente manera:"
#. type: Plain text
-#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
-#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
#, no-wrap
msgid ""
"struct linux_dirent {\n"
" unsigned long d_ino; /* Inode number */\n"
-" unsigned long d_off; /* Offset to next I<linux_dirent> */\n"
+" unsigned long d_off; /* Not an offset; see below */\n"
" unsigned short d_reclen; /* Length of this I<linux_dirent> */\n"
" char d_name[]; /* Filename (null-terminated) */\n"
" /* length is actually (d_reclen - 2 -\n"
@@ -203,12 +202,19 @@ msgid ""
msgstr ""
#. type: Plain text
-#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
-#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
+#, fuzzy
+#| msgid ""
+#| "I<d_ino> is an inode number. I<d_off> is the distance from the start of "
+#| "the directory to the start of the next I<linux_dirent>. I<d_reclen> is "
+#| "the size of this entire I<linux_dirent>. I<d_name> is a null-terminated "
+#| "filename."
msgid ""
-"I<d_ino> is an inode number. I<d_off> is the distance from the start of the "
-"directory to the start of the next I<linux_dirent>. I<d_reclen> is the size "
-"of this entire I<linux_dirent>. I<d_name> is a null-terminated filename."
+"I<d_ino> is an inode number. I<d_off> is a filesystem-specific value with "
+"no specific meaning to user space, though on older filesystems it used to be "
+"the distance from the start of the directory to the start of the next "
+"I<linux_dirent>; see B<readdir>(3)B<.> I<d_reclen> is the size of this "
+"entire I<linux_dirent>. I<d_name> is a null-terminated filename."
msgstr ""
"I<d_ino> es un número de nodo-i. I<d_off> es la distancia desde el "
"principio del directorio al comienzo del próximo I<linux_dirent>. "
@@ -378,8 +384,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
-#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid ""
#| "struct dirent\n"
@@ -392,7 +397,7 @@ msgstr ""
msgid ""
"struct linux_dirent64 {\n"
" ino64_t d_ino; /* 64-bit inode number */\n"
-" off64_t d_off; /* 64-bit offset to next structure */\n"
+" off64_t d_off; /* Not an offset; see getdents() */\n"
" unsigned short d_reclen; /* Size of this dirent */\n"
" unsigned char d_type; /* File type */\n"
" char d_name[]; /* Filename (null-terminated) */\n"
@@ -618,8 +623,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
#, fuzzy, no-wrap
#| msgid ""
#| " printf(\"--------------- nread=%d ---------------\\en\", nread);\n"
@@ -649,6 +653,7 @@ msgid ""
"#include E<lt>stdio.hE<gt>\n"
"#include E<lt>stdlib.hE<gt>\n"
"#include E<lt>sys/syscall.hE<gt>\n"
+"#include E<lt>sys/types.hE<gt>\n"
"#include E<lt>unistd.hE<gt>\n"
"\\&\n"
"struct linux_dirent {\n"
@@ -746,7 +751,66 @@ 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: Plain text
+#: debian-bookworm fedora-40 mageia-cauldron opensuse-leap-15-6
+#, no-wrap
+msgid ""
+"struct linux_dirent {\n"
+" unsigned long d_ino; /* Inode number */\n"
+" unsigned long d_off; /* Offset to next I<linux_dirent> */\n"
+" unsigned short d_reclen; /* Length of this I<linux_dirent> */\n"
+" char d_name[]; /* Filename (null-terminated) */\n"
+" /* length is actually (d_reclen - 2 -\n"
+" offsetof(struct linux_dirent, d_name)) */\n"
+" /*\n"
+" char pad; // Zero padding byte\n"
+" char d_type; // File type (only since Linux\n"
+" // 2.6.4); offset is (d_reclen - 1)\n"
+" */\n"
+"}\n"
+msgstr ""
+
+#. type: Plain text
+#: debian-bookworm fedora-40 mageia-cauldron opensuse-leap-15-6
+msgid ""
+"I<d_ino> is an inode number. I<d_off> is the distance from the start of the "
+"directory to the start of the next I<linux_dirent>. I<d_reclen> is the size "
+"of this entire I<linux_dirent>. I<d_name> is a null-terminated filename."
+msgstr ""
+"I<d_ino> es un número de nodo-i. I<d_off> es la distancia desde el "
+"principio del directorio al comienzo del próximo I<linux_dirent>. "
+"I<d_reclen> es el tamaño de todo el I<linux_dirent>. I<d_name> es un nombre "
+"de fichero terminado en NUL (el carácter de código 0)."
+
+#. type: Plain text
+#: debian-bookworm fedora-40 mageia-cauldron opensuse-leap-15-6
+#, fuzzy, no-wrap
+#| msgid ""
+#| "struct dirent\n"
+#| "{\n"
+#| " long d_ino; /* inode number */\n"
+#| " off_t d_off; /* offset to next I<dirent> */\n"
+#| " unsigned short d_reclen; /* length of this I<dirent> */\n"
+#| " char d_name [NAME_MAX+1]; /* file name (null-terminated) */\n"
+#| "}\n"
+msgid ""
+"struct linux_dirent64 {\n"
+" ino64_t d_ino; /* 64-bit inode number */\n"
+" off64_t d_off; /* 64-bit offset to next structure */\n"
+" unsigned short d_reclen; /* Size of this dirent */\n"
+" unsigned char d_type; /* File type */\n"
+" char d_name[]; /* Filename (null-terminated) */\n"
+"};\n"
+msgstr ""
+"struct dirent\n"
+"{\n"
+" long d_ino; /* número de nodo-i */\n"
+" off_t d_off; /* desplazamiento al próximo I<dirent> */\n"
+" unsigned short d_reclen; /* longitud de este I<dirent> */\n"
+" char d_name [NAME_MAX+1]; /* Nombre del fichero (terminado en NUL) */\n"
+"}\n"
#. type: Plain text
#: debian-bookworm
@@ -945,16 +1009,132 @@ msgstr ""
"}\n"
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-40 mageia-cauldron
+#, no-wrap
+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
+#, fuzzy, no-wrap
+#| msgid ""
+#| " printf(\"--------------- nread=%d ---------------\\en\", nread);\n"
+#| " printf(\"inode# file type d_reclen d_off d_name\\en\");\n"
+#| " for (bpos = 0; bpos E<lt> nread;) {\n"
+#| " d = (struct linux_dirent *) (buf + bpos);\n"
+#| " printf(\"%8ld \", d-E<gt>d_ino);\n"
+#| " d_type = *(buf + bpos + d-E<gt>d_reclen - 1);\n"
+#| " printf(\"%-10s \", (d_type == DT_REG) ? \"regular\" :\n"
+#| " (d_type == DT_DIR) ? \"directory\" :\n"
+#| " (d_type == DT_FIFO) ? \"FIFO\" :\n"
+#| " (d_type == DT_SOCK) ? \"socket\" :\n"
+#| " (d_type == DT_LNK) ? \"symlink\" :\n"
+#| " (d_type == DT_BLK) ? \"block dev\" :\n"
+#| " (d_type == DT_CHR) ? \"char dev\" : \"???\");\n"
+#| " printf(\"%4d %10lld %s\\en\", d-E<gt>d_reclen,\n"
+#| " (long long) d-E<gt>d_off, d-E<gt>d_name);\n"
+#| " bpos += d-E<gt>d_reclen;\n"
+#| " }\n"
+#| " }\n"
+msgid ""
+"#define _GNU_SOURCE\n"
+"#include E<lt>dirent.hE<gt> /* Defines DT_* constants */\n"
+"#include E<lt>err.hE<gt>\n"
+"#include E<lt>fcntl.hE<gt>\n"
+"#include E<lt>stdint.hE<gt>\n"
+"#include E<lt>stdio.hE<gt>\n"
+"#include E<lt>stdlib.hE<gt>\n"
+"#include E<lt>sys/syscall.hE<gt>\n"
+"#include E<lt>unistd.hE<gt>\n"
+"\\&\n"
+"struct linux_dirent {\n"
+" unsigned long d_ino;\n"
+" off_t d_off;\n"
+" unsigned short d_reclen;\n"
+" char d_name[];\n"
+"};\n"
+"\\&\n"
+"#define BUF_SIZE 1024\n"
+"\\&\n"
+"int\n"
+"main(int argc, char *argv[])\n"
+"{\n"
+" int fd;\n"
+" char d_type;\n"
+" char buf[BUF_SIZE];\n"
+" long nread;\n"
+" struct linux_dirent *d;\n"
+"\\&\n"
+" fd = open(argc E<gt> 1 ? argv[1] : \".\", O_RDONLY | O_DIRECTORY);\n"
+" if (fd == -1)\n"
+" err(EXIT_FAILURE, \"open\");\n"
+"\\&\n"
+" for (;;) {\n"
+" nread = syscall(SYS_getdents, fd, buf, BUF_SIZE);\n"
+" if (nread == -1)\n"
+" err(EXIT_FAILURE, \"getdents\");\n"
+"\\&\n"
+" if (nread == 0)\n"
+" break;\n"
+"\\&\n"
+" printf(\"--------------- nread=%ld ---------------\\en\", nread);\n"
+" printf(\"inode# file type d_reclen d_off d_name\\en\");\n"
+" for (size_t bpos = 0; bpos E<lt> nread;) {\n"
+" d = (struct linux_dirent *) (buf + bpos);\n"
+" printf(\"%8lu \", d-E<gt>d_ino);\n"
+" d_type = *(buf + bpos + d-E<gt>d_reclen - 1);\n"
+" printf(\"%-10s \", (d_type == DT_REG) ? \"regular\" :\n"
+" (d_type == DT_DIR) ? \"directory\" :\n"
+" (d_type == DT_FIFO) ? \"FIFO\" :\n"
+" (d_type == DT_SOCK) ? \"socket\" :\n"
+" (d_type == DT_LNK) ? \"symlink\" :\n"
+" (d_type == DT_BLK) ? \"block dev\" :\n"
+" (d_type == DT_CHR) ? \"char dev\" : \"???\");\n"
+" printf(\"%4d %10jd %s\\en\", d-E<gt>d_reclen,\n"
+" (intmax_t) d-E<gt>d_off, d-E<gt>d_name);\n"
+" bpos += d-E<gt>d_reclen;\n"
+" }\n"
+" }\n"
+"\\&\n"
+" exit(EXIT_SUCCESS);\n"
+"}\n"
+msgstr ""
+" printf(\"--------------- nread=%d ---------------\\en\", nread);\n"
+" printf(\"inode# file type d_reclen d_off d_name\\en\");\n"
+" for (bpos = 0; bpos E<lt> nread;) {\n"
+" d = (struct linux_dirent *) (buf + bpos);\n"
+" printf(\"%8ld \", d-E<gt>d_ino);\n"
+" d_type = *(buf + bpos + d-E<gt>d_reclen - 1);\n"
+" printf(\"%-10s \", (d_type == DT_REG) ? \"regular\" :\n"
+" (d_type == DT_DIR) ? \"directory\" :\n"
+" (d_type == DT_FIFO) ? \"FIFO\" :\n"
+" (d_type == DT_SOCK) ? \"socket\" :\n"
+" (d_type == DT_LNK) ? \"symlink\" :\n"
+" (d_type == DT_BLK) ? \"block dev\" :\n"
+" (d_type == DT_CHR) ? \"char dev\" : \"???\");\n"
+" printf(\"%4d %10lld %s\\en\", d-E<gt>d_reclen,\n"
+" (long long) d-E<gt>d_off, d-E<gt>d_name);\n"
+" bpos += d-E<gt>d_reclen;\n"
+" }\n"
+" }\n"
+
+#. type: TH
+#: fedora-rawhide
#, no-wrap
-msgid "2023-05-03"
-msgstr "3 Mayo 2023"
+msgid "2024-02-25"
+msgstr "25 Febrero 2024"
#. 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
@@ -966,4 +1146,10 @@ msgstr "30 Marzo 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)"