| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:44+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "stat" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "stat, fstat, lstat, fstatat - get file status" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "LIBRARY" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 61 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#. type: SH |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
#, no-wrap |
| 69 |
msgid "SYNOPSIS" |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "B<#include E<lt>sys/stat.hE<gt>>\n" |
| 77 |
msgstr "" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 81 |
#: opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "" |
| 84 |
"B<int stat(const char *restrict >I<path>B<,>\n" |
| 85 |
"B< struct stat *restrict >I<statbuf>B<);>\n" |
| 86 |
"B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n" |
| 87 |
"B<int lstat(const char *restrict >I<path>B<,>\n" |
| 88 |
"B< struct stat *restrict >I<statbuf>B<);>\n" |
| 89 |
msgstr "" |
| 90 |
|
| 91 |
#. type: Plain text |
| 92 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 93 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 94 |
#, no-wrap |
| 95 |
msgid "" |
| 96 |
"B<#include E<lt>fcntl.hE<gt> >/* Definition of B<AT_*> constants */\n" |
| 97 |
"B<#include E<lt>sys/stat.hE<gt>>\n" |
| 98 |
msgstr "" |
| 99 |
|
| 100 |
#. type: Plain text |
| 101 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 102 |
#: opensuse-tumbleweed |
| 103 |
#, no-wrap |
| 104 |
msgid "" |
| 105 |
"B<int fstatat(int >I<dirfd>B<, const char *restrict >I<path>B<,>\n" |
| 106 |
"B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n" |
| 107 |
msgstr "" |
| 108 |
|
| 109 |
#. type: Plain text |
| 110 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 111 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 112 |
msgid "" |
| 113 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 114 |
msgstr "" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
msgid "B<lstat>():" |
| 120 |
msgstr "" |
| 121 |
|
| 122 |
#. _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED |
| 123 |
#. type: Plain text |
| 124 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 125 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 126 |
#, no-wrap |
| 127 |
msgid "" |
| 128 |
" /* Since glibc 2.20 */ _DEFAULT_SOURCE\n" |
| 129 |
" || _XOPEN_SOURCE E<gt>= 500\n" |
| 130 |
" || /* Since glibc 2.10: */ _POSIX_C_SOURCE E<gt>= 200112L\n" |
| 131 |
" || /* glibc 2.19 and earlier */ _BSD_SOURCE\n" |
| 132 |
msgstr "" |
| 133 |
|
| 134 |
#. type: Plain text |
| 135 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 136 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 137 |
msgid "B<fstatat>():" |
| 138 |
msgstr "" |
| 139 |
|
| 140 |
#. type: Plain text |
| 141 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 142 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 143 |
#, no-wrap |
| 144 |
msgid "" |
| 145 |
" Since glibc 2.10:\n" |
| 146 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 147 |
" Before glibc 2.10:\n" |
| 148 |
" _ATFILE_SOURCE\n" |
| 149 |
msgstr "" |
| 150 |
|
| 151 |
#. type: SH |
| 152 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 153 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 154 |
#, no-wrap |
| 155 |
msgid "DESCRIPTION" |
| 156 |
msgstr "" |
| 157 |
|
| 158 |
#. type: Plain text |
| 159 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 160 |
#: opensuse-tumbleweed |
| 161 |
msgid "" |
| 162 |
"These functions return information about a file, in the buffer pointed to by " |
| 163 |
"I<statbuf>. No permissions are required on the file itself, but\\[em]in the " |
| 164 |
"case of B<stat>(), B<fstatat>(), and B<lstat>()\\[em]execute (search) " |
| 165 |
"permission is required on all of the directories in I<path> that lead to the " |
| 166 |
"file." |
| 167 |
msgstr "" |
| 168 |
|
| 169 |
#. type: Plain text |
| 170 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 171 |
#: opensuse-tumbleweed |
| 172 |
msgid "" |
| 173 |
"B<stat>() and B<fstatat>() retrieve information about the file pointed to " |
| 174 |
"by I<path>; the differences for B<fstatat>() are described below." |
| 175 |
msgstr "" |
| 176 |
|
| 177 |
#. type: Plain text |
| 178 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 179 |
#: opensuse-tumbleweed |
| 180 |
msgid "" |
| 181 |
"B<lstat>() is identical to B<stat>(), except that if I<path> is a symbolic " |
| 182 |
"link, then it returns information about the link itself, not the file that " |
| 183 |
"the link refers to." |
| 184 |
msgstr "" |
| 185 |
|
| 186 |
#. type: Plain text |
| 187 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 188 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 189 |
msgid "" |
| 190 |
"B<fstat>() is identical to B<stat>(), except that the file about which " |
| 191 |
"information is to be retrieved is specified by the file descriptor I<fd>." |
| 192 |
msgstr "" |
| 193 |
|
| 194 |
#. type: SS |
| 195 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 196 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 197 |
#, no-wrap |
| 198 |
msgid "The stat structure" |
| 199 |
msgstr "" |
| 200 |
|
| 201 |
#. type: Plain text |
| 202 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 203 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 204 |
msgid "" |
| 205 |
"All of these system calls return a I<stat> structure (see B<stat>(3type))." |
| 206 |
msgstr "" |
| 207 |
|
| 208 |
#. Background: inode attributes are modified with i_mutex held, but |
| 209 |
#. read by stat() without taking the mutex. |
| 210 |
#. type: Plain text |
| 211 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 212 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 213 |
msgid "" |
| 214 |
"I<Note>: for performance and simplicity reasons, different fields in the " |
| 215 |
"I<stat> structure may contain state information from different moments " |
| 216 |
"during the execution of the system call. For example, if I<st_mode> or " |
| 217 |
"I<st_uid> is changed by another process by calling B<chmod>(2) or " |
| 218 |
"B<chown>(2), B<stat>() might return the old I<st_mode> together with the " |
| 219 |
"new I<st_uid>, or the old I<st_uid> together with the new I<st_mode>." |
| 220 |
msgstr "" |
| 221 |
|
| 222 |
#. type: SS |
| 223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 225 |
#, no-wrap |
| 226 |
msgid "fstatat()" |
| 227 |
msgstr "" |
| 228 |
|
| 229 |
#. type: Plain text |
| 230 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 231 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 232 |
msgid "" |
| 233 |
"The B<fstatat>() system call is a more general interface for accessing file " |
| 234 |
"information which can still provide exactly the behavior of each of " |
| 235 |
"B<stat>(), B<lstat>(), and B<fstat>()." |
| 236 |
msgstr "" |
| 237 |
|
| 238 |
#. type: Plain text |
| 239 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 240 |
#: opensuse-tumbleweed |
| 241 |
msgid "" |
| 242 |
"If I<path> is relative, then it is interpreted relative to the directory " |
| 243 |
"referred to by the file descriptor I<dirfd> (rather than relative to the " |
| 244 |
"current working directory of the calling process, as is done by B<stat>() " |
| 245 |
"and B<lstat>() for a relative pathname)." |
| 246 |
msgstr "" |
| 247 |
|
| 248 |
#. type: Plain text |
| 249 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 250 |
#: opensuse-tumbleweed |
| 251 |
msgid "" |
| 252 |
"If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then " |
| 253 |
"I<path> is interpreted relative to the current working directory of the " |
| 254 |
"calling process (like B<stat>() and B<lstat>())." |
| 255 |
msgstr "" |
| 256 |
|
| 257 |
#. type: Plain text |
| 258 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 259 |
#: opensuse-tumbleweed |
| 260 |
msgid "If I<path> is absolute, then I<dirfd> is ignored." |
| 261 |
msgstr "" |
| 262 |
|
| 263 |
#. type: Plain text |
| 264 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 265 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 266 |
msgid "" |
| 267 |
"I<flags> can either be 0, or include one or more of the following flags ORed:" |
| 268 |
msgstr "" |
| 269 |
|
| 270 |
#. type: TP |
| 271 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 272 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 273 |
#, no-wrap |
| 274 |
msgid "B<AT_EMPTY_PATH> (since Linux 2.6.39)" |
| 275 |
msgstr "" |
| 276 |
|
| 277 |
#. commit 65cfc6722361570bfe255698d9cd4dccaf47570d |
| 278 |
#. Before glibc 2.16, defining _ATFILE_SOURCE sufficed |
| 279 |
#. type: Plain text |
| 280 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 281 |
#: opensuse-tumbleweed |
| 282 |
msgid "" |
| 283 |
"If I<path> is an empty string (or NULL, since Linux 6.11) operate on the " |
| 284 |
"file referred to by I<dirfd> (which may have been obtained using the " |
| 285 |
"B<open>(2) B<O_PATH> flag). In this case, I<dirfd> can refer to any type " |
| 286 |
"of file, not just a directory, and the behavior of B<fstatat>() is similar " |
| 287 |
"to that of B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the " |
| 288 |
"current working directory. This flag is Linux-specific; define " |
| 289 |
"B<_GNU_SOURCE> to obtain its definition." |
| 290 |
msgstr "" |
| 291 |
|
| 292 |
#. type: TP |
| 293 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 294 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 295 |
#, no-wrap |
| 296 |
msgid "B<AT_NO_AUTOMOUNT> (since Linux 2.6.38)" |
| 297 |
msgstr "" |
| 298 |
|
| 299 |
#. type: Plain text |
| 300 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 301 |
#: opensuse-tumbleweed |
| 302 |
msgid "" |
| 303 |
"Don't automount the terminal (\"basename\") component of I<path.> Since " |
| 304 |
"Linux 3.1 this flag is ignored. Since Linux 4.11 this flag is implied." |
| 305 |
msgstr "" |
| 306 |
|
| 307 |
#. type: TP |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "B<AT_SYMLINK_NOFOLLOW>" |
| 312 |
msgstr "" |
| 313 |
|
| 314 |
#. type: Plain text |
| 315 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 316 |
#: opensuse-tumbleweed |
| 317 |
msgid "" |
| 318 |
"If I<path> is a symbolic link, do not dereference it: instead return " |
| 319 |
"information about the link itself, like B<lstat>(). (By default, " |
| 320 |
"B<fstatat>() dereferences symbolic links, like B<stat>().)" |
| 321 |
msgstr "" |
| 322 |
|
| 323 |
#. type: Plain text |
| 324 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 325 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 326 |
msgid "See B<openat>(2) for an explanation of the need for B<fstatat>()." |
| 327 |
msgstr "" |
| 328 |
|
| 329 |
#. type: SH |
| 330 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 331 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 332 |
#, no-wrap |
| 333 |
msgid "RETURN VALUE" |
| 334 |
msgstr "" |
| 335 |
|
| 336 |
#. type: Plain text |
| 337 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 338 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 339 |
msgid "" |
| 340 |
"On success, zero is returned. On error, -1 is returned, and I<errno> is set " |
| 341 |
"to indicate the error." |
| 342 |
msgstr "" |
| 343 |
|
| 344 |
#. type: SH |
| 345 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 346 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 347 |
#, no-wrap |
| 348 |
msgid "ERRORS" |
| 349 |
msgstr "" |
| 350 |
|
| 351 |
#. type: TP |
| 352 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 353 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 354 |
#, no-wrap |
| 355 |
msgid "B<EACCES>" |
| 356 |
msgstr "" |
| 357 |
|
| 358 |
#. type: Plain text |
| 359 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 360 |
#: opensuse-tumbleweed |
| 361 |
msgid "" |
| 362 |
"Search permission is denied for one of the directories in the path prefix of " |
| 363 |
"I<path>. (See also B<path_resolution>(7).)" |
| 364 |
msgstr "" |
| 365 |
|
| 366 |
#. type: TP |
| 367 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 368 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 369 |
#, no-wrap |
| 370 |
msgid "B<EBADF>" |
| 371 |
msgstr "" |
| 372 |
|
| 373 |
#. type: Plain text |
| 374 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 375 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 376 |
msgid "I<fd> is not a valid open file descriptor." |
| 377 |
msgstr "" |
| 378 |
|
| 379 |
#. type: Plain text |
| 380 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 381 |
#: opensuse-tumbleweed |
| 382 |
msgid "" |
| 383 |
"(B<fstatat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> nor " |
| 384 |
"a valid file descriptor." |
| 385 |
msgstr "" |
| 386 |
|
| 387 |
#. type: TP |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
#, no-wrap |
| 391 |
msgid "B<EFAULT>" |
| 392 |
msgstr "" |
| 393 |
|
| 394 |
#. type: Plain text |
| 395 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 396 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 397 |
msgid "Bad address." |
| 398 |
msgstr "" |
| 399 |
|
| 400 |
#. type: TP |
| 401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 403 |
#, no-wrap |
| 404 |
msgid "B<EINVAL>" |
| 405 |
msgstr "" |
| 406 |
|
| 407 |
#. type: Plain text |
| 408 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 409 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 410 |
msgid "(B<fstatat>()) Invalid flag specified in I<flags>." |
| 411 |
msgstr "" |
| 412 |
|
| 413 |
#. type: TP |
| 414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 416 |
#, no-wrap |
| 417 |
msgid "B<ELOOP>" |
| 418 |
msgstr "" |
| 419 |
|
| 420 |
#. type: Plain text |
| 421 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 422 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 423 |
msgid "Too many symbolic links encountered while traversing the path." |
| 424 |
msgstr "" |
| 425 |
|
| 426 |
#. type: TP |
| 427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 429 |
#, no-wrap |
| 430 |
msgid "B<ENAMETOOLONG>" |
| 431 |
msgstr "" |
| 432 |
|
| 433 |
#. type: Plain text |
| 434 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 435 |
#: opensuse-tumbleweed |
| 436 |
msgid "I<path> is too long." |
| 437 |
msgstr "" |
| 438 |
|
| 439 |
#. type: TP |
| 440 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 441 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 442 |
#, no-wrap |
| 443 |
msgid "B<ENOENT>" |
| 444 |
msgstr "" |
| 445 |
|
| 446 |
#. type: Plain text |
| 447 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 448 |
#: opensuse-tumbleweed |
| 449 |
msgid "A component of I<path> does not exist or is a dangling symbolic link." |
| 450 |
msgstr "" |
| 451 |
|
| 452 |
#. type: Plain text |
| 453 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 454 |
#: opensuse-tumbleweed |
| 455 |
msgid "" |
| 456 |
"I<path> is an empty string and B<AT_EMPTY_PATH> was not specified in " |
| 457 |
"I<flags>." |
| 458 |
msgstr "" |
| 459 |
|
| 460 |
#. type: TP |
| 461 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 462 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 463 |
#, no-wrap |
| 464 |
msgid "B<ENOMEM>" |
| 465 |
msgstr "" |
| 466 |
|
| 467 |
#. type: Plain text |
| 468 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 469 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 470 |
msgid "Out of memory (i.e., kernel memory)." |
| 471 |
msgstr "" |
| 472 |
|
| 473 |
#. type: TP |
| 474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 476 |
#, no-wrap |
| 477 |
msgid "B<ENOTDIR>" |
| 478 |
msgstr "" |
| 479 |
|
| 480 |
#. type: Plain text |
| 481 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 482 |
#: opensuse-tumbleweed |
| 483 |
msgid "A component of the path prefix of I<path> is not a directory." |
| 484 |
msgstr "" |
| 485 |
|
| 486 |
#. type: Plain text |
| 487 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 488 |
#: opensuse-tumbleweed |
| 489 |
msgid "" |
| 490 |
"(B<fstatat>()) I<path> is relative and I<dirfd> is a file descriptor " |
| 491 |
"referring to a file other than a directory." |
| 492 |
msgstr "" |
| 493 |
|
| 494 |
#. type: TP |
| 495 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 496 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 497 |
#, no-wrap |
| 498 |
msgid "B<EOVERFLOW>" |
| 499 |
msgstr "" |
| 500 |
|
| 501 |
#. type: Plain text |
| 502 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 503 |
#: opensuse-tumbleweed |
| 504 |
msgid "" |
| 505 |
"I<path> or I<fd> refers to a file whose size, inode number, or number of " |
| 506 |
"blocks cannot be represented in, respectively, the types I<off_t>, I<ino_t>, " |
| 507 |
"or I<blkcnt_t>. This error can occur when, for example, an application " |
| 508 |
"compiled on a 32-bit platform without I<-D_FILE_OFFSET_BITS=64> calls " |
| 509 |
"B<stat>() on a file whose size exceeds I<(1E<lt>E<lt>31)-1> bytes." |
| 510 |
msgstr "" |
| 511 |
|
| 512 |
#. type: SH |
| 513 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 514 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 515 |
#, no-wrap |
| 516 |
msgid "STANDARDS" |
| 517 |
msgstr "" |
| 518 |
|
| 519 |
#. type: Plain text |
| 520 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 521 |
#: opensuse-tumbleweed |
| 522 |
msgid "POSIX.1-2024." |
| 523 |
msgstr "" |
| 524 |
|
| 525 |
#. type: SH |
| 526 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 527 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 528 |
#, no-wrap |
| 529 |
msgid "HISTORY" |
| 530 |
msgstr "" |
| 531 |
|
| 532 |
#. type: TP |
| 533 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 534 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 535 |
#, no-wrap |
| 536 |
msgid "B<stat>()" |
| 537 |
msgstr "" |
| 538 |
|
| 539 |
#. type: TQ |
| 540 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 541 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 542 |
#, no-wrap |
| 543 |
msgid "B<fstat>()" |
| 544 |
msgstr "" |
| 545 |
|
| 546 |
#. type: TQ |
| 547 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 548 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 549 |
#, no-wrap |
| 550 |
msgid "B<lstat>()" |
| 551 |
msgstr "" |
| 552 |
|
| 553 |
#. SVr4 documents additional |
| 554 |
#. .BR fstat () |
| 555 |
#. error conditions EINTR, ENOLINK, and EOVERFLOW. SVr4 |
| 556 |
#. documents additional |
| 557 |
#. .BR stat () |
| 558 |
#. and |
| 559 |
#. .BR lstat () |
| 560 |
#. error conditions EINTR, EMULTIHOP, ENOLINK, and EOVERFLOW. |
| 561 |
#. type: Plain text |
| 562 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 563 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 564 |
msgid "SVr4, 4.3BSD, POSIX.1-2001." |
| 565 |
msgstr "" |
| 566 |
|
| 567 |
#. type: TP |
| 568 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 569 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 570 |
#, no-wrap |
| 571 |
msgid "B<fstatat>()" |
| 572 |
msgstr "" |
| 573 |
|
| 574 |
#. type: Plain text |
| 575 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 576 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 577 |
msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4." |
| 578 |
msgstr "" |
| 579 |
|
| 580 |
#. type: Plain text |
| 581 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 582 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 583 |
msgid "" |
| 584 |
"According to POSIX.1-2001, B<lstat>() on a symbolic link need return valid " |
| 585 |
"information only in the I<st_size> field and the file type of the I<st_mode> " |
| 586 |
"field of the I<stat> structure. POSIX.1-2008 tightens the specification, " |
| 587 |
"requiring B<lstat>() to return valid information in all fields except the " |
| 588 |
"mode bits in I<st_mode>." |
| 589 |
msgstr "" |
| 590 |
|
| 591 |
#. type: Plain text |
| 592 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 593 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 594 |
msgid "" |
| 595 |
"Use of the I<st_blocks> and I<st_blksize> fields may be less portable. " |
| 596 |
"(They were introduced in BSD. The interpretation differs between systems, " |
| 597 |
"and possibly on a single system when NFS mounts are involved.)" |
| 598 |
msgstr "" |
| 599 |
|
| 600 |
#. type: SS |
| 601 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 602 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 603 |
#, no-wrap |
| 604 |
msgid "C library/kernel differences" |
| 605 |
msgstr "" |
| 606 |
|
| 607 |
#. See include/asm-i386/stat.h in the Linux 2.4 source code for the |
| 608 |
#. various versions of the structure definitions |
| 609 |
#. type: Plain text |
| 610 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 611 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 612 |
msgid "" |
| 613 |
"Over time, increases in the size of the I<stat> structure have led to three " |
| 614 |
"successive versions of B<stat>(): I<sys_stat>() (slot I<__NR_oldstat>), " |
| 615 |
"I<sys_newstat>() (slot I<__NR_stat>), and I<sys_stat64()> (slot " |
| 616 |
"I<__NR_stat64>) on 32-bit platforms such as i386. The first two versions " |
| 617 |
"were already present in Linux 1.0 (albeit with different names); the last " |
| 618 |
"was added in Linux 2.4. Similar remarks apply for B<fstat>() and " |
| 619 |
"B<lstat>()." |
| 620 |
msgstr "" |
| 621 |
|
| 622 |
#. type: Plain text |
| 623 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 624 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 625 |
msgid "" |
| 626 |
"The kernel-internal versions of the I<stat> structure dealt with by the " |
| 627 |
"different versions are, respectively:" |
| 628 |
msgstr "" |
| 629 |
|
| 630 |
#. type: TP |
| 631 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 632 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 633 |
#, no-wrap |
| 634 |
msgid "I<__old_kernel_stat>" |
| 635 |
msgstr "" |
| 636 |
|
| 637 |
#. type: Plain text |
| 638 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 639 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 640 |
msgid "The original structure, with rather narrow fields, and no padding." |
| 641 |
msgstr "" |
| 642 |
|
| 643 |
#. type: TP |
| 644 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 645 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 646 |
#, no-wrap |
| 647 |
msgid "I<stat>" |
| 648 |
msgstr "" |
| 649 |
|
| 650 |
#. type: Plain text |
| 651 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 652 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 653 |
msgid "" |
| 654 |
"Larger I<st_ino> field and padding added to various parts of the structure " |
| 655 |
"to allow for future expansion." |
| 656 |
msgstr "" |
| 657 |
|
| 658 |
#. type: TP |
| 659 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 660 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 661 |
#, no-wrap |
| 662 |
msgid "I<stat64>" |
| 663 |
msgstr "" |
| 664 |
|
| 665 |
#. type: Plain text |
| 666 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 667 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 668 |
msgid "" |
| 669 |
"Even larger I<st_ino> field, larger I<st_uid> and I<st_gid> fields to " |
| 670 |
"accommodate the Linux-2.4 expansion of UIDs and GIDs to 32 bits, and various " |
| 671 |
"other enlarged fields and further padding in the structure. (Various " |
| 672 |
"padding bytes were eventually consumed in Linux 2.6, with the advent of 32-" |
| 673 |
"bit device IDs and nanosecond components for the timestamp fields.)" |
| 674 |
msgstr "" |
| 675 |
|
| 676 |
# |
| 677 |
# |
| 678 |
# |
| 679 |
# |
| 680 |
# |
| 681 |
# |
| 682 |
#. #-#-#-#-# archlinux: stat.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 683 |
#. A note from Andries Brouwer, July 2007 |
| 684 |
#. > Is the story not rather more complicated for some calls like |
| 685 |
#. > stat(2)? |
| 686 |
#. Yes and no, mostly no. See "/usr/include/sys/stat.h". |
| 687 |
#. The idea is here not so much that syscalls change, but that |
| 688 |
#. the definitions of struct stat and of the types dev_t and mode_t change. |
| 689 |
#. This means that libc (even if it does not call the kernel |
| 690 |
#. but only calls some internal function) must know what the |
| 691 |
#. format of dev_t or of struct stat is. |
| 692 |
#. The communication between the application and libc goes via |
| 693 |
#. the include file <sys/stat.h> that defines a _STAT_VER and |
| 694 |
#. _MKNOD_VER describing the layout of the data that user space |
| 695 |
#. uses. Each (almost each) occurrence of stat() is replaced by |
| 696 |
#. an occurrence of xstat() where the first parameter of xstat() |
| 697 |
#. is this version number _STAT_VER. |
| 698 |
#. Now, also the definitions used by the kernel change. |
| 699 |
#. But glibc copes with this in the standard way, and the |
| 700 |
#. struct stat as returned by the kernel is repacked into |
| 701 |
#. the struct stat as expected by the application. |
| 702 |
#. Thus, _STAT_VER and this setup cater for the application-libc |
| 703 |
#. interface, rather than the libc-kernel interface. |
| 704 |
#. (Note that the details depend on gcc being used as c compiler.) |
| 705 |
#. type: Plain text |
| 706 |
#. #-#-#-#-# debian-trixie: stat.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 707 |
#. A note from Andries Brouwer, July 2007 |
| 708 |
#. > Is the story not rather more complicated for some calls like |
| 709 |
#. > stat(2)? |
| 710 |
#. Yes and no, mostly no. See /usr/include/sys/stat.h . |
| 711 |
#. The idea is here not so much that syscalls change, but that |
| 712 |
#. the definitions of struct stat and of the types dev_t and mode_t change. |
| 713 |
#. This means that libc (even if it does not call the kernel |
| 714 |
#. but only calls some internal function) must know what the |
| 715 |
#. format of dev_t or of struct stat is. |
| 716 |
#. The communication between the application and libc goes via |
| 717 |
#. the include file <sys/stat.h> that defines a _STAT_VER and |
| 718 |
#. _MKNOD_VER describing the layout of the data that user space |
| 719 |
#. uses. Each (almost each) occurrence of stat() is replaced by |
| 720 |
#. an occurrence of xstat() where the first parameter of xstat() |
| 721 |
#. is this version number _STAT_VER. |
| 722 |
#. Now, also the definitions used by the kernel change. |
| 723 |
#. But glibc copes with this in the standard way, and the |
| 724 |
#. struct stat as returned by the kernel is repacked into |
| 725 |
#. the struct stat as expected by the application. |
| 726 |
#. Thus, _STAT_VER and this setup cater for the application-libc |
| 727 |
#. interface, rather than the libc-kernel interface. |
| 728 |
#. (Note that the details depend on gcc being used as c compiler.) |
| 729 |
#. type: Plain text |
| 730 |
#. #-#-#-#-# debian-unstable: stat.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 731 |
#. A note from Andries Brouwer, July 2007 |
| 732 |
#. > Is the story not rather more complicated for some calls like |
| 733 |
#. > stat(2)? |
| 734 |
#. Yes and no, mostly no. See "/usr/include/sys/stat.h". |
| 735 |
#. The idea is here not so much that syscalls change, but that |
| 736 |
#. the definitions of struct stat and of the types dev_t and mode_t change. |
| 737 |
#. This means that libc (even if it does not call the kernel |
| 738 |
#. but only calls some internal function) must know what the |
| 739 |
#. format of dev_t or of struct stat is. |
| 740 |
#. The communication between the application and libc goes via |
| 741 |
#. the include file <sys/stat.h> that defines a _STAT_VER and |
| 742 |
#. _MKNOD_VER describing the layout of the data that user space |
| 743 |
#. uses. Each (almost each) occurrence of stat() is replaced by |
| 744 |
#. an occurrence of xstat() where the first parameter of xstat() |
| 745 |
#. is this version number _STAT_VER. |
| 746 |
#. Now, also the definitions used by the kernel change. |
| 747 |
#. But glibc copes with this in the standard way, and the |
| 748 |
#. struct stat as returned by the kernel is repacked into |
| 749 |
#. the struct stat as expected by the application. |
| 750 |
#. Thus, _STAT_VER and this setup cater for the application-libc |
| 751 |
#. interface, rather than the libc-kernel interface. |
| 752 |
#. (Note that the details depend on gcc being used as c compiler.) |
| 753 |
#. type: Plain text |
| 754 |
#. #-#-#-#-# fedora-44: stat.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 755 |
#. A note from Andries Brouwer, July 2007 |
| 756 |
#. > Is the story not rather more complicated for some calls like |
| 757 |
#. > stat(2)? |
| 758 |
#. Yes and no, mostly no. See /usr/include/sys/stat.h . |
| 759 |
#. The idea is here not so much that syscalls change, but that |
| 760 |
#. the definitions of struct stat and of the types dev_t and mode_t change. |
| 761 |
#. This means that libc (even if it does not call the kernel |
| 762 |
#. but only calls some internal function) must know what the |
| 763 |
#. format of dev_t or of struct stat is. |
| 764 |
#. The communication between the application and libc goes via |
| 765 |
#. the include file <sys/stat.h> that defines a _STAT_VER and |
| 766 |
#. _MKNOD_VER describing the layout of the data that user space |
| 767 |
#. uses. Each (almost each) occurrence of stat() is replaced by |
| 768 |
#. an occurrence of xstat() where the first parameter of xstat() |
| 769 |
#. is this version number _STAT_VER. |
| 770 |
#. Now, also the definitions used by the kernel change. |
| 771 |
#. But glibc copes with this in the standard way, and the |
| 772 |
#. struct stat as returned by the kernel is repacked into |
| 773 |
#. the struct stat as expected by the application. |
| 774 |
#. Thus, _STAT_VER and this setup cater for the application-libc |
| 775 |
#. interface, rather than the libc-kernel interface. |
| 776 |
#. (Note that the details depend on gcc being used as c compiler.) |
| 777 |
#. type: Plain text |
| 778 |
#. #-#-#-#-# fedora-rawhide: stat.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 779 |
#. A note from Andries Brouwer, July 2007 |
| 780 |
#. > Is the story not rather more complicated for some calls like |
| 781 |
#. > stat(2)? |
| 782 |
#. Yes and no, mostly no. See /usr/include/sys/stat.h . |
| 783 |
#. The idea is here not so much that syscalls change, but that |
| 784 |
#. the definitions of struct stat and of the types dev_t and mode_t change. |
| 785 |
#. This means that libc (even if it does not call the kernel |
| 786 |
#. but only calls some internal function) must know what the |
| 787 |
#. format of dev_t or of struct stat is. |
| 788 |
#. The communication between the application and libc goes via |
| 789 |
#. the include file <sys/stat.h> that defines a _STAT_VER and |
| 790 |
#. _MKNOD_VER describing the layout of the data that user space |
| 791 |
#. uses. Each (almost each) occurrence of stat() is replaced by |
| 792 |
#. an occurrence of xstat() where the first parameter of xstat() |
| 793 |
#. is this version number _STAT_VER. |
| 794 |
#. Now, also the definitions used by the kernel change. |
| 795 |
#. But glibc copes with this in the standard way, and the |
| 796 |
#. struct stat as returned by the kernel is repacked into |
| 797 |
#. the struct stat as expected by the application. |
| 798 |
#. Thus, _STAT_VER and this setup cater for the application-libc |
| 799 |
#. interface, rather than the libc-kernel interface. |
| 800 |
#. (Note that the details depend on gcc being used as c compiler.) |
| 801 |
#. type: Plain text |
| 802 |
#. #-#-#-#-# mageia-cauldron: stat.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 803 |
#. A note from Andries Brouwer, July 2007 |
| 804 |
#. > Is the story not rather more complicated for some calls like |
| 805 |
#. > stat(2)? |
| 806 |
#. Yes and no, mostly no. See "/usr/include/sys/stat.h". |
| 807 |
#. The idea is here not so much that syscalls change, but that |
| 808 |
#. the definitions of struct stat and of the types dev_t and mode_t change. |
| 809 |
#. This means that libc (even if it does not call the kernel |
| 810 |
#. but only calls some internal function) must know what the |
| 811 |
#. format of dev_t or of struct stat is. |
| 812 |
#. The communication between the application and libc goes via |
| 813 |
#. the include file <sys/stat.h> that defines a _STAT_VER and |
| 814 |
#. _MKNOD_VER describing the layout of the data that user space |
| 815 |
#. uses. Each (almost each) occurrence of stat() is replaced by |
| 816 |
#. an occurrence of xstat() where the first parameter of xstat() |
| 817 |
#. is this version number _STAT_VER. |
| 818 |
#. Now, also the definitions used by the kernel change. |
| 819 |
#. But glibc copes with this in the standard way, and the |
| 820 |
#. struct stat as returned by the kernel is repacked into |
| 821 |
#. the struct stat as expected by the application. |
| 822 |
#. Thus, _STAT_VER and this setup cater for the application-libc |
| 823 |
#. interface, rather than the libc-kernel interface. |
| 824 |
#. (Note that the details depend on gcc being used as c compiler.) |
| 825 |
#. type: Plain text |
| 826 |
#. #-#-#-#-# opensuse-leap-16-1: stat.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 827 |
#. A note from Andries Brouwer, July 2007 |
| 828 |
#. > Is the story not rather more complicated for some calls like |
| 829 |
#. > stat(2)? |
| 830 |
#. Yes and no, mostly no. See "/usr/include/sys/stat.h". |
| 831 |
#. The idea is here not so much that syscalls change, but that |
| 832 |
#. the definitions of struct stat and of the types dev_t and mode_t change. |
| 833 |
#. This means that libc (even if it does not call the kernel |
| 834 |
#. but only calls some internal function) must know what the |
| 835 |
#. format of dev_t or of struct stat is. |
| 836 |
#. The communication between the application and libc goes via |
| 837 |
#. the include file <sys/stat.h> that defines a _STAT_VER and |
| 838 |
#. _MKNOD_VER describing the layout of the data that user space |
| 839 |
#. uses. Each (almost each) occurrence of stat() is replaced by |
| 840 |
#. an occurrence of xstat() where the first parameter of xstat() |
| 841 |
#. is this version number _STAT_VER. |
| 842 |
#. Now, also the definitions used by the kernel change. |
| 843 |
#. But glibc copes with this in the standard way, and the |
| 844 |
#. struct stat as returned by the kernel is repacked into |
| 845 |
#. the struct stat as expected by the application. |
| 846 |
#. Thus, _STAT_VER and this setup cater for the application-libc |
| 847 |
#. interface, rather than the libc-kernel interface. |
| 848 |
#. (Note that the details depend on gcc being used as c compiler.) |
| 849 |
#. type: Plain text |
| 850 |
#. #-#-#-#-# opensuse-tumbleweed: stat.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 851 |
#. A note from Andries Brouwer, July 2007 |
| 852 |
#. > Is the story not rather more complicated for some calls like |
| 853 |
#. > stat(2)? |
| 854 |
#. Yes and no, mostly no. See "/usr/include/sys/stat.h". |
| 855 |
#. The idea is here not so much that syscalls change, but that |
| 856 |
#. the definitions of struct stat and of the types dev_t and mode_t change. |
| 857 |
#. This means that libc (even if it does not call the kernel |
| 858 |
#. but only calls some internal function) must know what the |
| 859 |
#. format of dev_t or of struct stat is. |
| 860 |
#. The communication between the application and libc goes via |
| 861 |
#. the include file <sys/stat.h> that defines a _STAT_VER and |
| 862 |
#. _MKNOD_VER describing the layout of the data that user space |
| 863 |
#. uses. Each (almost each) occurrence of stat() is replaced by |
| 864 |
#. an occurrence of xstat() where the first parameter of xstat() |
| 865 |
#. is this version number _STAT_VER. |
| 866 |
#. Now, also the definitions used by the kernel change. |
| 867 |
#. But glibc copes with this in the standard way, and the |
| 868 |
#. struct stat as returned by the kernel is repacked into |
| 869 |
#. the struct stat as expected by the application. |
| 870 |
#. Thus, _STAT_VER and this setup cater for the application-libc |
| 871 |
#. interface, rather than the libc-kernel interface. |
| 872 |
#. (Note that the details depend on gcc being used as c compiler.) |
| 873 |
#. type: Plain text |
| 874 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 875 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 876 |
msgid "" |
| 877 |
"The glibc B<stat>() wrapper function hides these details from applications, " |
| 878 |
"invoking the most recent version of the system call provided by the kernel, " |
| 879 |
"and repacking the returned information if required for old binaries." |
| 880 |
msgstr "" |
| 881 |
|
| 882 |
#. type: Plain text |
| 883 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 884 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 885 |
msgid "" |
| 886 |
"On modern 64-bit systems, life is simpler: there is a single B<stat>() " |
| 887 |
"system call and the kernel deals with a I<stat> structure that contains " |
| 888 |
"fields of a sufficient size." |
| 889 |
msgstr "" |
| 890 |
|
| 891 |
#. strace(1) shows the name "newfstatat" on x86-64 |
| 892 |
#. type: Plain text |
| 893 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 894 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 895 |
msgid "" |
| 896 |
"The underlying system call employed by the glibc B<fstatat>() wrapper " |
| 897 |
"function is actually called B<fstatat64>() or, on some architectures, " |
| 898 |
"B<newfstatat>()." |
| 899 |
msgstr "" |
| 900 |
|
| 901 |
#. type: SH |
| 902 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 903 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 904 |
#, no-wrap |
| 905 |
msgid "EXAMPLES" |
| 906 |
msgstr "" |
| 907 |
|
| 908 |
#. type: Plain text |
| 909 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 910 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 911 |
msgid "" |
| 912 |
"The following program calls B<lstat>() and displays selected fields in the " |
| 913 |
"returned I<stat> structure." |
| 914 |
msgstr "" |
| 915 |
|
| 916 |
#. type: Plain text |
| 917 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 918 |
#: opensuse-tumbleweed |
| 919 |
#, no-wrap |
| 920 |
msgid "" |
| 921 |
"#include E<lt>stdint.hE<gt>\n" |
| 922 |
"#include E<lt>stdio.hE<gt>\n" |
| 923 |
"#include E<lt>stdlib.hE<gt>\n" |
| 924 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 925 |
"#include E<lt>sys/sysmacros.hE<gt>\n" |
| 926 |
"#include E<lt>time.hE<gt>\n" |
| 927 |
"\\&\n" |
| 928 |
"int\n" |
| 929 |
"main(int argc, char *argv[])\n" |
| 930 |
"{\n" |
| 931 |
" struct stat sb;\n" |
| 932 |
"\\&\n" |
| 933 |
" if (argc != 2) {\n" |
| 934 |
" fprintf(stderr, \"Usage: %s E<lt>pathE<gt>\\[rs]n\", argv[0]);\n" |
| 935 |
" exit(EXIT_FAILURE);\n" |
| 936 |
" }\n" |
| 937 |
"\\&\n" |
| 938 |
" if (lstat(argv[1], &sb) == -1) {\n" |
| 939 |
" perror(\"lstat\");\n" |
| 940 |
" exit(EXIT_FAILURE);\n" |
| 941 |
" }\n" |
| 942 |
"\\&\n" |
| 943 |
" printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n" |
| 944 |
" major(sb.st_dev),\n" |
| 945 |
" minor(sb.st_dev));\n" |
| 946 |
"\\&\n" |
| 947 |
" printf(\"File type: \");\n" |
| 948 |
"\\&\n" |
| 949 |
" switch (sb.st_mode & S_IFMT) {\n" |
| 950 |
" case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n" |
| 951 |
" case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n" |
| 952 |
" case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n" |
| 953 |
" case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n" |
| 954 |
" case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n" |
| 955 |
" case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n" |
| 956 |
" case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n" |
| 957 |
" default: printf(\"unknown?\\[rs]n\"); break;\n" |
| 958 |
" }\n" |
| 959 |
"\\&\n" |
| 960 |
" printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n" |
| 961 |
"\\&\n" |
| 962 |
" printf(\"Mode: %jo (octal)\\[rs]n\",\n" |
| 963 |
" (uintmax_t) sb.st_mode);\n" |
| 964 |
"\\&\n" |
| 965 |
" printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n" |
| 966 |
" printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n" |
| 967 |
" (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n" |
| 968 |
"\\&\n" |
| 969 |
" printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n" |
| 970 |
" (intmax_t) sb.st_blksize);\n" |
| 971 |
" printf(\"File size: %jd bytes\\[rs]n\",\n" |
| 972 |
" (intmax_t) sb.st_size);\n" |
| 973 |
" printf(\"Blocks allocated: %jd\\[rs]n\",\n" |
| 974 |
" (intmax_t) sb.st_blocks);\n" |
| 975 |
"\\&\n" |
| 976 |
" printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n" |
| 977 |
" printf(\"Last file access: %s\", ctime(&sb.st_atime));\n" |
| 978 |
" printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n" |
| 979 |
"\\&\n" |
| 980 |
" exit(EXIT_SUCCESS);\n" |
| 981 |
"}\n" |
| 982 |
msgstr "" |
| 983 |
|
| 984 |
#. SRC END |
| 985 |
#. type: SH |
| 986 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 987 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 988 |
#, no-wrap |
| 989 |
msgid "SEE ALSO" |
| 990 |
msgstr "" |
| 991 |
|
| 992 |
#. type: Plain text |
| 993 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 994 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 995 |
msgid "" |
| 996 |
"B<ls>(1), B<stat>(1), B<access>(2), B<chmod>(2), B<chown>(2), " |
| 997 |
"B<readlink>(2), B<statx>(2), B<utime>(2), B<stat>(3type), " |
| 998 |
"B<capabilities>(7), B<inode>(7), B<symlink>(7)" |
| 999 |
msgstr "" |
| 1000 |
|
| 1001 |
#. type: TH |
| 1002 |
#: debian-trixie |
| 1003 |
#, no-wrap |
| 1004 |
msgid "2024-06-15" |
| 1005 |
msgstr "" |
| 1006 |
|
| 1007 |
#. type: TH |
| 1008 |
#: debian-trixie |
| 1009 |
#, no-wrap |
| 1010 |
msgid "Linux man-pages 6.9.1" |
| 1011 |
msgstr "" |
| 1012 |
|
| 1013 |
#. type: Plain text |
| 1014 |
#: debian-trixie |
| 1015 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 1016 |
msgstr "" |
| 1017 |
|
| 1018 |
#. type: Plain text |
| 1019 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1020 |
#, no-wrap |
| 1021 |
msgid "" |
| 1022 |
"B<int stat(const char *restrict >I<pathname>B<,>\n" |
| 1023 |
"B< struct stat *restrict >I<statbuf>B<);>\n" |
| 1024 |
"B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n" |
| 1025 |
"B<int lstat(const char *restrict >I<pathname>B<,>\n" |
| 1026 |
"B< struct stat *restrict >I<statbuf>B<);>\n" |
| 1027 |
msgstr "" |
| 1028 |
|
| 1029 |
#. type: Plain text |
| 1030 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1031 |
#, no-wrap |
| 1032 |
msgid "" |
| 1033 |
"B<int fstatat(int >I<dirfd>B<, const char *restrict >I<pathname>B<,>\n" |
| 1034 |
"B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n" |
| 1035 |
msgstr "" |
| 1036 |
|
| 1037 |
#. type: Plain text |
| 1038 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1039 |
msgid "" |
| 1040 |
"These functions return information about a file, in the buffer pointed to by " |
| 1041 |
"I<statbuf>. No permissions are required on the file itself, but\\[em]in the " |
| 1042 |
"case of B<stat>(), B<fstatat>(), and B<lstat>()\\[em]execute (search) " |
| 1043 |
"permission is required on all of the directories in I<pathname> that lead to " |
| 1044 |
"the file." |
| 1045 |
msgstr "" |
| 1046 |
|
| 1047 |
#. type: Plain text |
| 1048 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1049 |
msgid "" |
| 1050 |
"B<stat>() and B<fstatat>() retrieve information about the file pointed to " |
| 1051 |
"by I<pathname>; the differences for B<fstatat>() are described below." |
| 1052 |
msgstr "" |
| 1053 |
|
| 1054 |
#. type: Plain text |
| 1055 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1056 |
msgid "" |
| 1057 |
"B<lstat>() is identical to B<stat>(), except that if I<pathname> is a " |
| 1058 |
"symbolic link, then it returns information about the link itself, not the " |
| 1059 |
"file that the link refers to." |
| 1060 |
msgstr "" |
| 1061 |
|
| 1062 |
#. type: Plain text |
| 1063 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1064 |
msgid "" |
| 1065 |
"If the pathname given in I<pathname> is relative, then it is interpreted " |
| 1066 |
"relative to the directory referred to by the file descriptor I<dirfd> " |
| 1067 |
"(rather than relative to the current working directory of the calling " |
| 1068 |
"process, as is done by B<stat>() and B<lstat>() for a relative pathname)." |
| 1069 |
msgstr "" |
| 1070 |
|
| 1071 |
#. type: Plain text |
| 1072 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1073 |
msgid "" |
| 1074 |
"If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, " |
| 1075 |
"then I<pathname> is interpreted relative to the current working directory of " |
| 1076 |
"the calling process (like B<stat>() and B<lstat>())." |
| 1077 |
msgstr "" |
| 1078 |
|
| 1079 |
#. type: Plain text |
| 1080 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1081 |
msgid "If I<pathname> is absolute, then I<dirfd> is ignored." |
| 1082 |
msgstr "" |
| 1083 |
|
| 1084 |
#. commit 65cfc6722361570bfe255698d9cd4dccaf47570d |
| 1085 |
#. Before glibc 2.16, defining _ATFILE_SOURCE sufficed |
| 1086 |
#. type: Plain text |
| 1087 |
#: debian-trixie |
| 1088 |
msgid "" |
| 1089 |
"If I<pathname> is an empty string, operate on the file referred to by " |
| 1090 |
"I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> " |
| 1091 |
"flag). In this case, I<dirfd> can refer to any type of file, not just a " |
| 1092 |
"directory, and the behavior of B<fstatat>() is similar to that of " |
| 1093 |
"B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the current " |
| 1094 |
"working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to " |
| 1095 |
"obtain its definition." |
| 1096 |
msgstr "" |
| 1097 |
|
| 1098 |
#. type: Plain text |
| 1099 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1100 |
msgid "" |
| 1101 |
"Don't automount the terminal (\"basename\") component of I<pathname.> Since " |
| 1102 |
"Linux 3.1 this flag is ignored. Since Linux 4.11 this flag is implied." |
| 1103 |
msgstr "" |
| 1104 |
|
| 1105 |
#. type: Plain text |
| 1106 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1107 |
msgid "" |
| 1108 |
"If I<pathname> is a symbolic link, do not dereference it: instead return " |
| 1109 |
"information about the link itself, like B<lstat>(). (By default, " |
| 1110 |
"B<fstatat>() dereferences symbolic links, like B<stat>().)" |
| 1111 |
msgstr "" |
| 1112 |
|
| 1113 |
#. type: Plain text |
| 1114 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1115 |
msgid "" |
| 1116 |
"Search permission is denied for one of the directories in the path prefix of " |
| 1117 |
"I<pathname>. (See also B<path_resolution>(7).)" |
| 1118 |
msgstr "" |
| 1119 |
|
| 1120 |
#. type: Plain text |
| 1121 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1122 |
msgid "" |
| 1123 |
"(B<fstatat>()) I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> " |
| 1124 |
"nor a valid file descriptor." |
| 1125 |
msgstr "" |
| 1126 |
|
| 1127 |
#. type: Plain text |
| 1128 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1129 |
msgid "I<pathname> is too long." |
| 1130 |
msgstr "" |
| 1131 |
|
| 1132 |
#. type: Plain text |
| 1133 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1134 |
msgid "" |
| 1135 |
"A component of I<pathname> does not exist or is a dangling symbolic link." |
| 1136 |
msgstr "" |
| 1137 |
|
| 1138 |
#. type: Plain text |
| 1139 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1140 |
msgid "" |
| 1141 |
"I<pathname> is an empty string and B<AT_EMPTY_PATH> was not specified in " |
| 1142 |
"I<flags>." |
| 1143 |
msgstr "" |
| 1144 |
|
| 1145 |
#. type: Plain text |
| 1146 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1147 |
msgid "A component of the path prefix of I<pathname> is not a directory." |
| 1148 |
msgstr "" |
| 1149 |
|
| 1150 |
#. type: Plain text |
| 1151 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1152 |
msgid "" |
| 1153 |
"(B<fstatat>()) I<pathname> is relative and I<dirfd> is a file descriptor " |
| 1154 |
"referring to a file other than a directory." |
| 1155 |
msgstr "" |
| 1156 |
|
| 1157 |
#. type: Plain text |
| 1158 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1159 |
msgid "" |
| 1160 |
"I<pathname> or I<fd> refers to a file whose size, inode number, or number of " |
| 1161 |
"blocks cannot be represented in, respectively, the types I<off_t>, I<ino_t>, " |
| 1162 |
"or I<blkcnt_t>. This error can occur when, for example, an application " |
| 1163 |
"compiled on a 32-bit platform without I<-D_FILE_OFFSET_BITS=64> calls " |
| 1164 |
"B<stat>() on a file whose size exceeds I<(1E<lt>E<lt>31)-1> bytes." |
| 1165 |
msgstr "" |
| 1166 |
|
| 1167 |
#. type: Plain text |
| 1168 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1169 |
msgid "POSIX.1-2008." |
| 1170 |
msgstr "" |
| 1171 |
|
| 1172 |
#. type: Plain text |
| 1173 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1174 |
#, no-wrap |
| 1175 |
msgid "" |
| 1176 |
"#include E<lt>stdint.hE<gt>\n" |
| 1177 |
"#include E<lt>stdio.hE<gt>\n" |
| 1178 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1179 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 1180 |
"#include E<lt>sys/sysmacros.hE<gt>\n" |
| 1181 |
"#include E<lt>time.hE<gt>\n" |
| 1182 |
"\\&\n" |
| 1183 |
"int\n" |
| 1184 |
"main(int argc, char *argv[])\n" |
| 1185 |
"{\n" |
| 1186 |
" struct stat sb;\n" |
| 1187 |
"\\&\n" |
| 1188 |
" if (argc != 2) {\n" |
| 1189 |
" fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\[rs]n\", argv[0]);\n" |
| 1190 |
" exit(EXIT_FAILURE);\n" |
| 1191 |
" }\n" |
| 1192 |
"\\&\n" |
| 1193 |
" if (lstat(argv[1], &sb) == -1) {\n" |
| 1194 |
" perror(\"lstat\");\n" |
| 1195 |
" exit(EXIT_FAILURE);\n" |
| 1196 |
" }\n" |
| 1197 |
"\\&\n" |
| 1198 |
" printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n" |
| 1199 |
" major(sb.st_dev),\n" |
| 1200 |
" minor(sb.st_dev));\n" |
| 1201 |
"\\&\n" |
| 1202 |
" printf(\"File type: \");\n" |
| 1203 |
"\\&\n" |
| 1204 |
" switch (sb.st_mode & S_IFMT) {\n" |
| 1205 |
" case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n" |
| 1206 |
" case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n" |
| 1207 |
" case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n" |
| 1208 |
" case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n" |
| 1209 |
" case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n" |
| 1210 |
" case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n" |
| 1211 |
" case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n" |
| 1212 |
" default: printf(\"unknown?\\[rs]n\"); break;\n" |
| 1213 |
" }\n" |
| 1214 |
"\\&\n" |
| 1215 |
" printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n" |
| 1216 |
"\\&\n" |
| 1217 |
" printf(\"Mode: %jo (octal)\\[rs]n\",\n" |
| 1218 |
" (uintmax_t) sb.st_mode);\n" |
| 1219 |
"\\&\n" |
| 1220 |
" printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n" |
| 1221 |
" printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n" |
| 1222 |
" (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n" |
| 1223 |
"\\&\n" |
| 1224 |
" printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n" |
| 1225 |
" (intmax_t) sb.st_blksize);\n" |
| 1226 |
" printf(\"File size: %jd bytes\\[rs]n\",\n" |
| 1227 |
" (intmax_t) sb.st_size);\n" |
| 1228 |
" printf(\"Blocks allocated: %jd\\[rs]n\",\n" |
| 1229 |
" (intmax_t) sb.st_blocks);\n" |
| 1230 |
"\\&\n" |
| 1231 |
" printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n" |
| 1232 |
" printf(\"Last file access: %s\", ctime(&sb.st_atime));\n" |
| 1233 |
" printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n" |
| 1234 |
"\\&\n" |
| 1235 |
" exit(EXIT_SUCCESS);\n" |
| 1236 |
"}\n" |
| 1237 |
msgstr "" |
| 1238 |
|
| 1239 |
#. type: TH |
| 1240 |
#: fedora-44 fedora-rawhide |
| 1241 |
#, no-wrap |
| 1242 |
msgid "2025-01-09" |
| 1243 |
msgstr "" |
| 1244 |
|
| 1245 |
#. type: TH |
| 1246 |
#: fedora-44 fedora-rawhide |
| 1247 |
#, no-wrap |
| 1248 |
msgid "Linux man-pages 6.13" |
| 1249 |
msgstr "" |
| 1250 |
|
| 1251 |
#. commit 65cfc6722361570bfe255698d9cd4dccaf47570d |
| 1252 |
#. Before glibc 2.16, defining _ATFILE_SOURCE sufficed |
| 1253 |
#. type: Plain text |
| 1254 |
#: fedora-44 fedora-rawhide |
| 1255 |
msgid "" |
| 1256 |
"If I<pathname> is an empty string (or NULL, since Linux 6.11) operate on " |
| 1257 |
"the file referred to by I<dirfd> (which may have been obtained using the " |
| 1258 |
"B<open>(2) B<O_PATH> flag). In this case, I<dirfd> can refer to any type " |
| 1259 |
"of file, not just a directory, and the behavior of B<fstatat>() is similar " |
| 1260 |
"to that of B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the " |
| 1261 |
"current working directory. This flag is Linux-specific; define " |
| 1262 |
"B<_GNU_SOURCE> to obtain its definition." |
| 1263 |
msgstr "" |
| 1264 |
|
| 1265 |
#. type: TH |
| 1266 |
#: mageia-cauldron |
| 1267 |
#, no-wrap |
| 1268 |
msgid "Linux man-pages 6.17" |
| 1269 |
msgstr "" |
| 1270 |
|
| 1271 |
#. type: TH |
| 1272 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1273 |
#, no-wrap |
| 1274 |
msgid "Linux man-pages (unreleased)" |
| 1275 |
msgstr "" |