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