# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-06-05 06:39+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "readdir" msgstr "" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "readdir - read a directory" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<#include Edirent.hE>\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<);>\n" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() function returns a pointer to a I structure " "representing the next directory entry in the directory stream pointed to by " "I. It returns NULL on reaching the end of the directory stream or if " "an error occurred." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the glibc implementation, the I structure is defined as follows:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "struct dirent {\n" " ino_t d_ino; /* Inode number */\n" " off_t d_off; /* Not an offset; see below */\n" " unsigned short d_reclen; /* Length of this record */\n" " unsigned char d_type; /* Type of file; not supported\n" " by all filesystem types */\n" " char d_name[256]; /* Null-terminated filename */\n" "};\n" msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The only fields in the I structure that are mandated by POSIX.1 are " "I<.d_name> and I<.d_ino>. The other fields are unstandardized, and not " "present on all systems; see VERSIONS." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The fields of the I structure are as follows:" msgstr "" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "I<.d_ino>" msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "This is the inode number of the file in the filesystem containing the " "directory on which B() was called. If the directory entry is a " "mount point, then I<.d_ino> differs from I<.st_ino> returned by B(2) " "on this file: I<.d_ino> is the inode number of the mount point, while " "I<.st_ino> is the inode number of the root directory of the mounted " "filesystem." msgstr "" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "I<.d_off>" msgstr "" #. https://lwn.net/Articles/544298/ #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The value returned in I<.d_off> is the same as would be returned by calling " "B(3) at the current position in the directory stream. Be aware " "that despite its type and name, the I<.d_off> field is seldom any kind of " "directory offset on modern filesystems. Applications should treat this " "field as an opaque value, making no assumptions about its contents; see also " "B(3)." msgstr "" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "I<.d_reclen>" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This is the size (in bytes) of the returned record. This may not match the " "size of the structure definition shown above; see VERSIONS." msgstr "" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "I<.d_type>" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This field contains a value indicating the file type, making it possible to " "avoid the expense of calling B(2) if further actions depend on the " "type of the file." msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "When a suitable feature test macro is defined (B<_DEFAULT_SOURCE> since " "glibc 2.19, or B<_BSD_SOURCE> on glibc 2.19 and earlier), glibc defines the " "following macro constants for the value returned in I<.d_type>:" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This is a block device." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This is a character device." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This is a directory." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This is a named pipe (FIFO)." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This is a symbolic link." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This is a regular file." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This is a UNIX domain socket." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The file type could not be determined." msgstr "" #. kernel 2.6.27 #. The same sentence is in getdents.2 #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) " "have full support for returning the file type in I<.d_type>. All " "applications must properly handle a return of B." msgstr "" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "I<.d_name>" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This field contains the null terminated filename; see VERSIONS." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The data returned by B() may be overwritten by subsequent calls to " "B() for the same directory stream." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On success, B() returns a pointer to a I structure. (This " "structure may be statically allocated; do not attempt to B(3) it.)" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the end of the directory stream is reached, NULL is returned and I " "is not changed. If an error occurs, NULL is returned and I is set to " "indicate the error. To distinguish end of stream from an error, set " "I to zero before calling B() and then check the value of " "I if NULL is returned." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Invalid directory stream descriptor I." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ATTRIBUTES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For an explanation of the terms used in this section, see B(7)." msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Interface" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Attribute" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Value" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".na\n" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".nh\n" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Thread safety" msgstr "" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "MT-Unsafe race:dirstream" msgstr "" #. FIXME . #. http://www.austingroupbugs.net/view.php?id=696 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the current POSIX.1 specification (POSIX.1-2008), B() is not " "required to be thread-safe. However, in modern implementations (including " "the glibc implementation), concurrent calls to B() that specify " "different directory streams are thread-safe. In cases where multiple " "threads must read from the same directory stream, using B() with " "external synchronization is still preferable to the use of the deprecated " "B(3) function. It is expected that a future version of POSIX.1 " "will require that B() be thread-safe when concurrently employed on " "different directory streams." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "" #. POSIX.1-2001, POSIX.1-2008 #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Only the fields I<.d_name> and (as an XSI extension) I<.d_ino> are " "specified in POSIX.1. Other than Linux, the I<.d_type> field is available " "mainly only on BSD systems. The remaining fields are available on many, but " "not all systems. Under glibc, programs can check for the availability of " "the fields not defined in POSIX.1 by testing whether the macros " "B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, B<_DIRENT_HAVE_D_OFF>, " "or B<_DIRENT_HAVE_D_TYPE> are defined." msgstr "" #. type: SS #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "The \\f[I].d_name\\fB field" msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The I structure definition shown above is taken from the glibc " "headers, and shows the I<.d_name> field with a fixed size." msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "I: applications should avoid any dependence on the size of the " "I<.d_name> field. POSIX defines it as I, a character array " "of unspecified size, with at most B characters preceding the " "terminating null byte (\\[aq]\\[rs]0\\[aq])." msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "POSIX.1 explicitly notes that this field should not be used as an lvalue. " "The standard also notes that the use of I is incorrect; use " "I instead. (On some systems, this field is defined as " "I!) By implication, the use I to " "capture the size of the record including the size of I<.d_name> is also " "incorrect." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Note that while the call" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fpathconf(fd, _PC_NAME_MAX)\n" msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "returns the value 255 for most filesystems, on some filesystems (e.g., CIFS, " "Windows SMB servers), the null-terminated filename that is (correctly) " "returned in I<.d_name> can actually exceed this size. In such cases, the " "I<.d_reclen> field will contain a value that exceeds the size of the glibc " "I structure shown above." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "POSIX.1-2008." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "POSIX.1-2001, SVr4, 4.3BSD." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "A directory stream is opened using B(3)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The order in which filenames are read by successive calls to B() " "depends on the filesystem implementation; it is unlikely that the names will " "be sorted in any fashion." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(2), B(2), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), " "B(3), B(3), B(3)" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-16" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The only fields in the I structure that are mandated by POSIX.1 are " "I and I. The other fields are unstandardized, and not " "present on all systems; see VERSIONS." msgstr "" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "This is the inode number of the file." msgstr "" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "" #. https://lwn.net/Articles/544298/ #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The value returned in I is the same as would be returned by calling " "B(3) at the current position in the directory stream. Be aware " "that despite its type and name, the I field is seldom any kind of " "directory offset on modern filesystems. Applications should treat this " "field as an opaque value, making no assumptions about its contents; see also " "B(3)." msgstr "" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "When a suitable feature test macro is defined (B<_DEFAULT_SOURCE> since " "glibc 2.19, or B<_BSD_SOURCE> on glibc 2.19 and earlier), glibc defines the " "following macro constants for the value returned in I:" msgstr "" #. kernel 2.6.27 #. The same sentence is in getdents.2 #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) " "have full support for returning the file type in I. All " "applications must properly handle a return of B." msgstr "" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "" #. POSIX.1-2001, POSIX.1-2008 #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Only the fields I and (as an XSI extension) I are specified " "in POSIX.1. Other than Linux, the I field is available mainly only " "on BSD systems. The remaining fields are available on many, but not all " "systems. Under glibc, programs can check for the availability of the fields " "not defined in POSIX.1 by testing whether the macros " "B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, B<_DIRENT_HAVE_D_OFF>, " "or B<_DIRENT_HAVE_D_TYPE> are defined." msgstr "" #. type: SS #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "The d_name field" msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The I structure definition shown above is taken from the glibc " "headers, and shows the I field with a fixed size." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I: applications should avoid any dependence on the size of the " "I field. POSIX defines it as I, a character array " "of unspecified size, with at most B characters preceding the " "terminating null byte (\\[aq]\\[rs]0\\[aq])." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "POSIX.1 explicitly notes that this field should not be used as an lvalue. " "The standard also notes that the use of I is incorrect; use " "I instead. (On some systems, this field is defined as " "I!) By implication, the use I to " "capture the size of the record including the size of I is also " "incorrect." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "returns the value 255 for most filesystems, on some filesystems (e.g., CIFS, " "Windows SMB servers), the null-terminated filename that is (correctly) " "returned in I can actually exceed this size. In such cases, the " "I field will contain a value that exceeds the size of the glibc " "I structure shown above." msgstr "" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-07-23" msgstr "" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr ""