| 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\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:24+0200\n" |
| 9 |
"PO-Revision-Date: 2026-06-03 04:49+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 |
".MIME-Version: 1.0\n" |
| 17 |
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " |
| 18 |
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" |
| 19 |
"X-Generator: Lokalize 23.08.5\n" |
| 20 |
|
| 21 |
#. type: TH |
| 22 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 23 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 24 |
#, no-wrap |
| 25 |
msgid "fmemopen" |
| 26 |
msgstr "fmemopen" |
| 27 |
|
| 28 |
#. type: TH |
| 29 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 30 |
#: opensuse-tumbleweed |
| 31 |
#, no-wrap |
| 32 |
msgid "2026-02-08" |
| 33 |
msgstr "8 فبراير 2026" |
| 34 |
|
| 35 |
#. type: TH |
| 36 |
#: archlinux debian-unstable |
| 37 |
#, no-wrap |
| 38 |
msgid "Linux man-pages 6.18" |
| 39 |
msgstr "صفحات دليل لينكس 6.18" |
| 40 |
|
| 41 |
#. type: SH |
| 42 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 43 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 44 |
#, no-wrap |
| 45 |
msgid "NAME" |
| 46 |
msgstr "الاسم" |
| 47 |
|
| 48 |
#. type: Plain text |
| 49 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 50 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 51 |
msgid "fmemopen - open memory as stream" |
| 52 |
msgstr "fmemopen - فتح الذاكرة كدفق" |
| 53 |
|
| 54 |
#. type: SH |
| 55 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 56 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 57 |
#, no-wrap |
| 58 |
msgid "LIBRARY" |
| 59 |
msgstr "المكتبة" |
| 60 |
|
| 61 |
#. type: Plain text |
| 62 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 63 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 64 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 65 |
msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)" |
| 66 |
|
| 67 |
#. type: SH |
| 68 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 69 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 70 |
#, no-wrap |
| 71 |
msgid "SYNOPSIS" |
| 72 |
msgstr "موجز" |
| 73 |
|
| 74 |
#. type: Plain text |
| 75 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 76 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 77 |
#, no-wrap |
| 78 |
msgid "B<#include E<lt>stdio.hE<gt>>\n" |
| 79 |
msgstr "B<#include E<lt>stdio.hE<gt>>\n" |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 83 |
#: opensuse-tumbleweed |
| 84 |
#, no-wrap |
| 85 |
msgid "" |
| 86 |
"B<FILE *fmemopen(>size_t size;\n" |
| 87 |
"B< void >I<buf>B<[>I<size>B<], size_t >I<size>B<, const char *>I<mode>B<);>\n" |
| 88 |
msgstr "" |
| 89 |
"B<FILE *fmemopen(>size_t size;\n" |
| 90 |
"B< void >I<buf>B<[>I<size>B<], size_t >I<size>B<, const char *>I<mode>B<);>\n" |
| 91 |
|
| 92 |
#. type: Plain text |
| 93 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 94 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 95 |
msgid "" |
| 96 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 97 |
msgstr "" |
| 98 |
"متطلبات ماكروات اختبار الميزات لـ glibc (انظر B<feature_test_macros>(7)):" |
| 99 |
|
| 100 |
#. type: Plain text |
| 101 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 102 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 103 |
msgid "B<fmemopen>():" |
| 104 |
msgstr "B<fmemopen>():" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
#, no-wrap |
| 110 |
msgid "" |
| 111 |
" Since glibc 2.10:\n" |
| 112 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 113 |
" Before glibc 2.10:\n" |
| 114 |
" _GNU_SOURCE\n" |
| 115 |
msgstr "" |
| 116 |
" منذ glibc 2.10:\n" |
| 117 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 118 |
" قبل glibc 2.10:\n" |
| 119 |
" _GNU_SOURCE\n" |
| 120 |
|
| 121 |
#. type: SH |
| 122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 124 |
#, no-wrap |
| 125 |
msgid "DESCRIPTION" |
| 126 |
msgstr "الوصف" |
| 127 |
|
| 128 |
#. type: Plain text |
| 129 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 130 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 131 |
msgid "" |
| 132 |
"The B<fmemopen>() function opens a stream that permits the access specified " |
| 133 |
"by I<mode>. The stream allows I/O to be performed on the string or memory " |
| 134 |
"buffer pointed to by I<buf>." |
| 135 |
msgstr "" |
| 136 |
"تفتح الدالة B<fmemopen>() دفقًا يسمح بالوصول المُحدد بواسطة I<mode>. يسمح " |
| 137 |
"الدفق بإجراء الإدخال/الإخراج على سلسلة المحارف أو مخبأ الذاكرة المُشار إليه " |
| 138 |
"بواسطة I<buf>." |
| 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 |
msgid "" |
| 144 |
"The I<mode> argument specifies the semantics of I/O on the stream, and is " |
| 145 |
"one of the following:" |
| 146 |
msgstr "يُحدد المعامل I<mode> دلالات الإدخال/الإخراج على الدفق، وهو أحد التالي:" |
| 147 |
|
| 148 |
#. type: TP |
| 149 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 150 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 151 |
#, no-wrap |
| 152 |
msgid "I<r>" |
| 153 |
msgstr "I<r>" |
| 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 |
msgid "The stream is opened for reading." |
| 159 |
msgstr "يُفتح الدفق للقراءة." |
| 160 |
|
| 161 |
#. type: TP |
| 162 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 163 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 164 |
#, no-wrap |
| 165 |
msgid "I<w>" |
| 166 |
msgstr "I<w>" |
| 167 |
|
| 168 |
#. type: Plain text |
| 169 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 170 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 171 |
msgid "The stream is opened for writing." |
| 172 |
msgstr "يُفتح الدفق للكتابة." |
| 173 |
|
| 174 |
#. type: TP |
| 175 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 176 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 177 |
#, no-wrap |
| 178 |
msgid "I<a>" |
| 179 |
msgstr "I<a>" |
| 180 |
|
| 181 |
#. type: Plain text |
| 182 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 183 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 184 |
msgid "" |
| 185 |
"Append; open the stream for writing, with the initial buffer position set to " |
| 186 |
"the first null byte." |
| 187 |
msgstr "" |
| 188 |
"إلحاق؛ يُفتح الدفق للكتابة، مع تعيين موضع المخبأ المبدئي إلى أول بايت فارغ." |
| 189 |
|
| 190 |
#. type: TP |
| 191 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 192 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 193 |
#, no-wrap |
| 194 |
msgid "I<r+>" |
| 195 |
msgstr "I<r+>" |
| 196 |
|
| 197 |
#. type: Plain text |
| 198 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 199 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 200 |
msgid "Open the stream for reading and writing." |
| 201 |
msgstr "يُفتح الدفق للقراءة والكتابة." |
| 202 |
|
| 203 |
#. type: TP |
| 204 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 205 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 206 |
#, no-wrap |
| 207 |
msgid "I<w+>" |
| 208 |
msgstr "I<w+>" |
| 209 |
|
| 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 |
"Open the stream for reading and writing. The buffer contents are truncated " |
| 215 |
"(i.e., \\[aq]\\[rs]0\\[aq] is placed in the first byte of the buffer)." |
| 216 |
msgstr "" |
| 217 |
"يُفتح الدفق للقراءة والكتابة. تُقتطع محتويات المخبأ (أي، يُوضع " |
| 218 |
"\\[aq]\\[rs]0\\[aq] في أول بايت من المخبأ)." |
| 219 |
|
| 220 |
#. type: TP |
| 221 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 222 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 223 |
#, no-wrap |
| 224 |
msgid "I<a+>" |
| 225 |
msgstr "I<a+>" |
| 226 |
|
| 227 |
#. type: Plain text |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
msgid "" |
| 231 |
"Append; open the stream for reading and writing, with the initial buffer " |
| 232 |
"position set to the first null byte." |
| 233 |
msgstr "" |
| 234 |
"إلحاق؛ يُفتح الدفق للقراءة والكتابة، مع تعيين موضع المخبأ المبدئي إلى أول " |
| 235 |
"بايت فارغ." |
| 236 |
|
| 237 |
#. type: Plain text |
| 238 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 239 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 240 |
msgid "" |
| 241 |
"The stream maintains the notion of a current position, the location where " |
| 242 |
"the next I/O operation will be performed. The current position is " |
| 243 |
"implicitly updated by I/O operations. It can be explicitly updated using " |
| 244 |
"B<fseek>(3), and determined using B<ftell>(3). In all modes other than " |
| 245 |
"append, the initial position is set to the start of the buffer. In append " |
| 246 |
"mode, if no null byte is found within the buffer, then the initial position " |
| 247 |
"is I<size+1>." |
| 248 |
msgstr "" |
| 249 |
"يحتفظ الدفق بمفهوم الموضع الحالي، وهو الموقع الذي ستُجرى فيه عملية الإدخال/" |
| 250 |
"الإخراج التالية. يُحدّث الموضع الحالي ضمنيًا بواسطة عمليات الإدخال/الإخراج. " |
| 251 |
"يمكن تحديثه صراحةً باستخدام B<fseek>(3)، وتحديده باستخدام B<ftell>(3). في " |
| 252 |
"جميع الأوضاع عدا الإلحاق، يُعيّن الموضع المبدئي إلى بداية المخبأ. في وضع " |
| 253 |
"الإلحاق، إذا لم يُعثر على بايت فارغ داخل المخبأ، فإن الموضع المبدئي يكون " |
| 254 |
"I<size+1>." |
| 255 |
|
| 256 |
#. type: Plain text |
| 257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 259 |
msgid "" |
| 260 |
"If I<buf> is specified as NULL, then B<fmemopen>() allocates a buffer of " |
| 261 |
"I<size> bytes. This is useful for an application that wants to write data " |
| 262 |
"to a temporary buffer and then read it back again. The initial position is " |
| 263 |
"set to the start of the buffer. The buffer is automatically freed when the " |
| 264 |
"stream is closed. Note that the caller has no way to obtain a pointer to " |
| 265 |
"the temporary buffer allocated by this call (but see B<open_memstream>(3))." |
| 266 |
msgstr "" |
| 267 |
"إذا حُدد I<buf> كـ NULL، فإن B<fmemopen>() تخصص مخبأً بحجم I<size> بايت. هذا " |
| 268 |
"مفيد لتطبيق يريد كتابة بيانات إلى مخبأ مؤقت ثم قراءتها مرة أخرى. يُعيّن الموضع " |
| 269 |
"المبدئي إلى بداية المخبأ. يُحرّر المخبأ آليًا عند إغلاق الدفق. لاحظ أنه لا توجد " |
| 270 |
"طريقة للمتصل للحصول على مؤشر إلى المخبأ المؤقت المُخصص بواسطة هذه الاستدعاء " |
| 271 |
"(لكن انظر B<open_memstream>(3))." |
| 272 |
|
| 273 |
#. type: Plain text |
| 274 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 275 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 276 |
msgid "" |
| 277 |
"If I<buf> is not NULL, then it should point to a buffer of at least I<size> " |
| 278 |
"bytes allocated by the caller." |
| 279 |
msgstr "" |
| 280 |
"إذا لم يكن I<buf> NULL، فيجب أن يشير إلى مخبأ بحجم I<size> بايت على الأقل " |
| 281 |
"مُخصص بواسطة المتصل." |
| 282 |
|
| 283 |
#. type: Plain text |
| 284 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 285 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 286 |
msgid "" |
| 287 |
"When a stream that has been opened for writing is flushed (B<fflush>(3)) or " |
| 288 |
"closed (B<fclose>(3)), a null byte is written at the end of the buffer if " |
| 289 |
"there is space. The caller should ensure that an extra byte is available in " |
| 290 |
"the buffer (and that I<size> counts that byte) to allow for this." |
| 291 |
msgstr "" |
| 292 |
"عندما يُمسح دفق فُتح للكتابة (B<fflush>(3)) أو يُغلق (B<fclose>(3))، يُكتب بايت " |
| 293 |
"فارغ في نهاية المخبأ إذا وُجدت مساحة. يجب على المتصل ضمان توفر بايت إضافي في " |
| 294 |
"المخبأ (وأن I<size> يحسب ذلك البايت) للسماح بذلك." |
| 295 |
|
| 296 |
#. type: Plain text |
| 297 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 298 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 299 |
msgid "" |
| 300 |
"In a stream opened for reading, null bytes (\\[aq]\\[rs]0\\[aq]) in the " |
| 301 |
"buffer do not cause read operations to return an end-of-file indication. A " |
| 302 |
"read from the buffer will indicate end-of-file only when the current buffer " |
| 303 |
"position advances I<size> bytes past the start of the buffer." |
| 304 |
msgstr "" |
| 305 |
"في دفق فُتح للقراءة، لا تتسبب البايتات الفارغة (\\[aq]\\[rs]0\\[aq]) في " |
| 306 |
"المخبأ في إرجاع عمليات القراءة لإشارة نهاية الملف. ستشير قراءة من المخبأ إلى " |
| 307 |
"نهاية الملف فقط عندما يتقدم موضع المخبأ الحالي I<size> بايت بعد بداية المخبأ." |
| 308 |
|
| 309 |
#. type: Plain text |
| 310 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 311 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 312 |
msgid "" |
| 313 |
"Write operations take place either at the current position (for modes other " |
| 314 |
"than append), or at the current size of the stream (for append modes)." |
| 315 |
msgstr "" |
| 316 |
"تحدث عمليات الكتابة إما في الموضع الحالي (للأوضاع غير الإلحاق)، أو في الحجم " |
| 317 |
"الحالي للدفق (لوضع الإلحاق)." |
| 318 |
|
| 319 |
#. type: Plain text |
| 320 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 321 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
msgid "" |
| 323 |
"Attempts to write more than I<size> bytes to the buffer result in an error. " |
| 324 |
"By default, such errors will be visible (by the absence of data) only when " |
| 325 |
"the I<stdio> buffer is flushed. Disabling buffering with the following call " |
| 326 |
"may be useful to detect errors at the time of an output operation:" |
| 327 |
msgstr "" |
| 328 |
"تؤدي محاولات كتابة أكثر من I<size> بايت إلى المخبأ إلى خطأ. مبدئيًا، ستكون " |
| 329 |
"هذه الأخطاء مرئية (بغياب البيانات) فقط عند مسح مخبأ I<stdio>. قد يكون تعطيل " |
| 330 |
"التخزين المؤقت بالاستدعاء التالي مفيدًا لاكتشاف الأخطاء في وقت عملية الإخراج:" |
| 331 |
|
| 332 |
#. type: Plain text |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
#, no-wrap |
| 336 |
msgid "setbuf(stream, NULL);\n" |
| 337 |
msgstr "setbuf(stream, NULL);\n" |
| 338 |
|
| 339 |
#. type: SH |
| 340 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 341 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 342 |
#, no-wrap |
| 343 |
msgid "RETURN VALUE" |
| 344 |
msgstr "قيمة الإرجاع" |
| 345 |
|
| 346 |
#. type: Plain text |
| 347 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 348 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 349 |
msgid "" |
| 350 |
"Upon successful completion, B<fmemopen>() returns a I<FILE> pointer. " |
| 351 |
"Otherwise, NULL is returned and I<errno> is set to indicate the error." |
| 352 |
msgstr "" |
| 353 |
"عند الإكمال بنجاح، تُرجع B<fmemopen>() مؤشر I<FILE>. وإلا، يُرجع NULL ويُعيّن " |
| 354 |
"I<errno> للإشارة إلى الخطأ." |
| 355 |
|
| 356 |
#. type: SH |
| 357 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 358 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 359 |
#, no-wrap |
| 360 |
msgid "ATTRIBUTES" |
| 361 |
msgstr "السمات" |
| 362 |
|
| 363 |
#. type: Plain text |
| 364 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 365 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 366 |
msgid "" |
| 367 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 368 |
msgstr "" |
| 369 |
"للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)." |
| 370 |
|
| 371 |
#. type: tbl table |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
#, no-wrap |
| 375 |
msgid "Interface" |
| 376 |
msgstr "الواجهة" |
| 377 |
|
| 378 |
#. type: tbl table |
| 379 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 380 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 381 |
#, no-wrap |
| 382 |
msgid "Attribute" |
| 383 |
msgstr "السمة" |
| 384 |
|
| 385 |
#. type: tbl table |
| 386 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 387 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 388 |
#, no-wrap |
| 389 |
msgid "Value" |
| 390 |
msgstr "القيمة" |
| 391 |
|
| 392 |
#. type: tbl table |
| 393 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 394 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 395 |
#, no-wrap |
| 396 |
msgid ".na\n" |
| 397 |
msgstr ".na\n" |
| 398 |
|
| 399 |
#. type: tbl table |
| 400 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 401 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 402 |
#, no-wrap |
| 403 |
msgid ".nh\n" |
| 404 |
msgstr ".nh\n" |
| 405 |
|
| 406 |
#. type: tbl table |
| 407 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 408 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 409 |
#, no-wrap |
| 410 |
msgid "B<fmemopen>()," |
| 411 |
msgstr "B<fmemopen>()،" |
| 412 |
|
| 413 |
#. type: tbl table |
| 414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 416 |
#, no-wrap |
| 417 |
msgid "Thread safety" |
| 418 |
msgstr "سلامة الخيوط" |
| 419 |
|
| 420 |
#. type: tbl table |
| 421 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 422 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 423 |
#, no-wrap |
| 424 |
msgid "MT-Safe" |
| 425 |
msgstr "MT-Safe" |
| 426 |
|
| 427 |
#. type: SH |
| 428 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 429 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 430 |
#, no-wrap |
| 431 |
msgid "STANDARDS" |
| 432 |
msgstr "المعايير" |
| 433 |
|
| 434 |
#. type: Plain text |
| 435 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 436 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 437 |
msgid "POSIX.1-2008." |
| 438 |
msgstr "POSIX.1-2008." |
| 439 |
|
| 440 |
#. type: SH |
| 441 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 442 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 443 |
#, no-wrap |
| 444 |
msgid "HISTORY" |
| 445 |
msgstr "التاريخ" |
| 446 |
|
| 447 |
#. type: Plain text |
| 448 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 449 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 450 |
msgid "glibc 1.0.x. POSIX.1-2008." |
| 451 |
msgstr "glibc 1.0.x. POSIX.1-2008." |
| 452 |
|
| 453 |
#. http://austingroupbugs.net/view.php?id=396 |
| 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 "" |
| 458 |
"POSIX.1-2008 specifies that \\[aq]b\\[aq] in I<mode> shall be ignored. " |
| 459 |
"However, Technical Corrigendum 1 adjusts the standard to allow " |
| 460 |
"implementation-specific treatment for this case, thus permitting the glibc " |
| 461 |
"treatment of \\[aq]b\\[aq]." |
| 462 |
msgstr "" |
| 463 |
"يحدد POSIX.1-2008 أن \\[aq]b\\[aq] في I<mode> يجب تجاهله. ومع ذلك، يعدل " |
| 464 |
"التصحيح التقني 1 المعيار للسماح بمعالجة خاصة بالتنفيذ لهذه الحالة، مما يسمح " |
| 465 |
"بمعالجة glibc لـ \\[aq]b\\[aq]." |
| 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 "" |
| 471 |
"With glibc 2.22, binary mode (see below) was removed, many longstanding bugs " |
| 472 |
"in the implementation of B<fmemopen>() were fixed, and a new versioned " |
| 473 |
"symbol was created for this interface." |
| 474 |
msgstr "" |
| 475 |
"مع glibc 2.22، أُزيل الوضع الثنائي (انظر أدناه)، وثُبتت العديد من الأخطاء " |
| 476 |
"القديمة في تنفيذ B<fmemopen>()، وأُنشئ رمز جديد مُرقّم لهذه الواجهة." |
| 477 |
|
| 478 |
#. type: SS |
| 479 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 480 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 481 |
#, no-wrap |
| 482 |
msgid "Binary mode" |
| 483 |
msgstr "الوضع الثنائي" |
| 484 |
|
| 485 |
#. type: Plain text |
| 486 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 487 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 488 |
msgid "" |
| 489 |
"From glibc 2.9 to glibc 2.21, the glibc implementation of B<fmemopen>() " |
| 490 |
"supported a \"binary\" mode, enabled by specifying the letter \\[aq]b\\[aq] " |
| 491 |
"as the second character in I<mode>. In this mode, writes don't implicitly " |
| 492 |
"add a terminating null byte, and B<fseek>(3) B<SEEK_END> is relative to the " |
| 493 |
"end of the buffer (i.e., the value specified by the I<size> argument), " |
| 494 |
"rather than the current string length." |
| 495 |
msgstr "" |
| 496 |
"من glibc 2.9 إلى glibc 2.21، دعم تنفيذ glibc لـ B<fmemopen>() وضعًا " |
| 497 |
"\"ثنائيًا\"، يُفعّل بتحديد الحرف \\[aq]b\\[aq] كالحرف الثاني في I<mode>. في " |
| 498 |
"هذا الوضع، لا تُضيف عمليات الكتابة ضمنيًا بايت فارغ ختامي، ويكون B<fseek>(3) " |
| 499 |
"B<SEEK_END> نسبيًا لنهاية المخزن المؤقت (أي القيمة المحددة بواسطة وسيط " |
| 500 |
"I<size>)، بدلاً من طول السلسلة الحالي." |
| 501 |
|
| 502 |
#. http://sourceware.org/bugzilla/show_bug.cgi?id=12836 |
| 503 |
#. type: Plain text |
| 504 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 505 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 506 |
msgid "" |
| 507 |
"An API bug afflicted the implementation of binary mode: to specify binary " |
| 508 |
"mode, the \\[aq]b\\[aq] must be the I<second> character in I<mode>. Thus, " |
| 509 |
"for example, \"wb+\" has the desired effect, but \"w+b\" does not. This is " |
| 510 |
"inconsistent with the treatment of I<mode> by B<fopen>(3)." |
| 511 |
msgstr "" |
| 512 |
"أصاب خطأ API تنفيذ الوضع الثنائي: لتحديد الوضع الثنائي، يجب أن يكون " |
| 513 |
"\\[aq]b\\[aq] الحرف I<الثاني> في I<mode>. وبالتالي، على سبيل المثال، \"wb+" |
| 514 |
"\" له التأثير المطلوب، لكن \"w+b\" ليس له. هذا غير متسق مع معالجة I<mode> " |
| 515 |
"بواسطة B<fopen>(3)." |
| 516 |
|
| 517 |
#. type: Plain text |
| 518 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 519 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 520 |
msgid "" |
| 521 |
"Binary mode was removed in glibc 2.22; a \\[aq]b\\[aq] specified in I<mode> " |
| 522 |
"has no effect." |
| 523 |
msgstr "" |
| 524 |
"أُزيل الوضع الثنائي في glibc 2.22؛ ليس لـ \\[aq]b\\[aq] المحدد في I<mode> أي " |
| 525 |
"تأثير." |
| 526 |
|
| 527 |
#. type: SH |
| 528 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 529 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 530 |
#, no-wrap |
| 531 |
msgid "NOTES" |
| 532 |
msgstr "ملاحظات" |
| 533 |
|
| 534 |
#. type: Plain text |
| 535 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 536 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 537 |
msgid "" |
| 538 |
"There is no file descriptor associated with the file stream returned by this " |
| 539 |
"function (i.e., B<fileno>(3) will return an error if called on the returned " |
| 540 |
"stream)." |
| 541 |
msgstr "" |
| 542 |
"لا يوجد واصف ملف مرتبط بدفق الملف المُعاد بواسطة هذه الدالة (أي، سيعيد " |
| 543 |
"B<fileno>(3) خطأً إذا استُدعي على الدفق المُعاد)." |
| 544 |
|
| 545 |
#. type: SH |
| 546 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 547 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 548 |
#, no-wrap |
| 549 |
msgid "BUGS" |
| 550 |
msgstr "العلل" |
| 551 |
|
| 552 |
#. http://sourceware.org/bugzilla/show_bug.cgi?id=11216 |
| 553 |
#. type: Plain text |
| 554 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 555 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 556 |
msgid "" |
| 557 |
"Before glibc 2.22, if I<size> is specified as zero, B<fmemopen>() fails " |
| 558 |
"with the error B<EINVAL>. It would be more consistent if this case " |
| 559 |
"successfully created a stream that then returned end-of-file on the first " |
| 560 |
"attempt at reading; since glibc 2.22, the glibc implementation provides that " |
| 561 |
"behavior." |
| 562 |
msgstr "" |
| 563 |
"قبل glibc 2.22، إذا حُدد I<size> كصفر، يفشل B<fmemopen>() مع الخطأ " |
| 564 |
"B<EINVAL>. سيكون أكثر اتساقًا إذا أنشأت هذه الحالة بنجاح دفقًا يعيد بعد ذلك " |
| 565 |
"نهاية الملف عند أول محاولة قراءة؛ منذ glibc 2.22، يوفر تنفيذ glibc هذا " |
| 566 |
"السلوك." |
| 567 |
|
| 568 |
#. http://sourceware.org/bugzilla/show_bug.cgi?id=13152 |
| 569 |
#. type: Plain text |
| 570 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 571 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 572 |
msgid "" |
| 573 |
"Before glibc 2.22, specifying append mode (\"a\" or \"a+\") for " |
| 574 |
"B<fmemopen>() sets the initial buffer position to the first null byte, but " |
| 575 |
"(if the current position is reset to a location other than the end of the " |
| 576 |
"stream) does not force subsequent writes to append at the end of the " |
| 577 |
"stream. This bug is fixed in glibc 2.22." |
| 578 |
msgstr "" |
| 579 |
"قبل glibc 2.22، تحديد وضع الإلحاق (\"a\" أو \"a+\") لـ B<fmemopen>() يضبط " |
| 580 |
"موضع المخزن المؤقت المبدئي على أول بايت فارغ، لكن (إذا أُعيد ضبط الموضع " |
| 581 |
"الحالي إلى موقع غير نهاية الدفق) لا يُجبر عمليات الكتابة اللاحقة على الإلحاق " |
| 582 |
"في نهاية الدفق. ثُبت هذا الخطأ في glibc 2.22." |
| 583 |
|
| 584 |
#. http://sourceware.org/bugzilla/show_bug.cgi?id=13151 |
| 585 |
#. type: Plain text |
| 586 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 587 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 588 |
msgid "" |
| 589 |
"Before glibc 2.22, if the I<mode> argument to B<fmemopen>() specifies " |
| 590 |
"append (\"a\" or \"a+\"), and the I<size> argument does not cover a null " |
| 591 |
"byte in I<buf>, then, according to POSIX.1-2008, the initial buffer position " |
| 592 |
"should be set to the next byte after the end of the buffer. However, in " |
| 593 |
"this case the glibc B<fmemopen>() sets the buffer position to -1. This bug " |
| 594 |
"is fixed in glibc 2.22." |
| 595 |
msgstr "" |
| 596 |
"قبل glibc 2.22، إذا حدد وسيط I<mode> لـ B<fmemopen>() الإلحاق (\"a\" أو \"a+" |
| 597 |
"\")، ولا يغطي وسيط I<size> بايتًا فارغًا في I<buf>، فوفقًا لـ POSIX.1-2008، يجب " |
| 598 |
"ضبط موضع المخزن المؤقت المبدئي على البايت التالي بعد نهاية المخزن المؤقت. " |
| 599 |
"ومع ذلك، في هذه الحالة يضبط glibc B<fmemopen>() موضع المخزن المؤقت على -1. " |
| 600 |
"ثُبت هذا الخطأ في glibc 2.22." |
| 601 |
|
| 602 |
#. https://sourceware.org/bugzilla/show_bug.cgi?id=14292 |
| 603 |
#. type: Plain text |
| 604 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 605 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 606 |
msgid "" |
| 607 |
"Before glibc 2.22, when a call to B<fseek>(3) with a I<whence> value of " |
| 608 |
"B<SEEK_END> was performed on a stream created by B<fmemopen>(), the " |
| 609 |
"I<offset> was I<subtracted> from the end-of-stream position, instead of " |
| 610 |
"being added. This bug is fixed in glibc 2.22." |
| 611 |
msgstr "" |
| 612 |
"قبل glibc 2.22، عندما أُجري استدعاء لـ B<fseek>(3) بقيمة I<whence> من " |
| 613 |
"B<SEEK_END> على دفق أُنشئ بواسطة B<fmemopen>()، كان I<offset> I<يُطرح> من موضع " |
| 614 |
"نهاية الدفق، بدلاً من أن يُضاف. ثُبت هذا الخطأ في glibc 2.22." |
| 615 |
|
| 616 |
#. http://sourceware.org/bugzilla/show_bug.cgi?id=6544 |
| 617 |
#. type: Plain text |
| 618 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 619 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 620 |
msgid "" |
| 621 |
"The glibc 2.9 addition of \"binary\" mode for B<fmemopen>() silently " |
| 622 |
"changed the ABI: previously, B<fmemopen>() ignored \\[aq]b\\[aq] in I<mode>." |
| 623 |
msgstr "" |
| 624 |
"غيّرت إضافة glibc 2.9 للوضع \"الثنائي\" لـ B<fmemopen>() ABI بصمت: سابقًا، " |
| 625 |
"تجاهل B<fmemopen>() \\[aq]b\\[aq] في I<mode>." |
| 626 |
|
| 627 |
#. type: SH |
| 628 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 629 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 630 |
#, no-wrap |
| 631 |
msgid "EXAMPLES" |
| 632 |
msgstr "أمثلة" |
| 633 |
|
| 634 |
#. type: Plain text |
| 635 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 636 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 637 |
msgid "" |
| 638 |
"The program below uses B<fmemopen>() to open an input buffer, and " |
| 639 |
"B<open_memstream>(3) to open a dynamically sized output buffer. The " |
| 640 |
"program scans its input string (taken from the program's first command-line " |
| 641 |
"argument) reading integers, and writes the squares of these integers to the " |
| 642 |
"output buffer. An example of the output produced by this program is the " |
| 643 |
"following:" |
| 644 |
msgstr "" |
| 645 |
"يستخدم البرنامج أدناه B<fmemopen>() لفتح مخزن إدخال مؤقت، و " |
| 646 |
"B<open_memstream>(3) لفتح مخزن إخراج مؤقت ذي حجم ديناميكي. يمسح البرنامج " |
| 647 |
"سلسلة إدخاله (المأخوذة من وسيط سطر الأوامر الأول للبرنامج) لقراءة الأعداد " |
| 648 |
"الصحيحة، ويكتب مربعات هذه الأعداد الصحيحة إلى مخزن الإخراج المؤقت. مثال على " |
| 649 |
"المخرجات التي ينتجها هذا البرنامج هو التالي:" |
| 650 |
|
| 651 |
#. type: Plain text |
| 652 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 653 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 654 |
#, no-wrap |
| 655 |
msgid "" |
| 656 |
"$B< ./a.out \\[aq]1 23 43\\[aq]>\n" |
| 657 |
"size=11; ptr=1 529 1849\n" |
| 658 |
msgstr "" |
| 659 |
"$B< ./a.out \\[aq]1 23 43\\[aq]>\n" |
| 660 |
"size=11; ptr=1 529 1849\n" |
| 661 |
|
| 662 |
#. type: SS |
| 663 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 664 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 665 |
#, no-wrap |
| 666 |
msgid "Program source" |
| 667 |
msgstr "مصدر البرنامج" |
| 668 |
|
| 669 |
#. type: Plain text |
| 670 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 671 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 672 |
#, no-wrap |
| 673 |
msgid "" |
| 674 |
"#define _GNU_SOURCE\n" |
| 675 |
"#include E<lt>err.hE<gt>\n" |
| 676 |
"#include E<lt>stdio.hE<gt>\n" |
| 677 |
"#include E<lt>stdlib.hE<gt>\n" |
| 678 |
"#include E<lt>string.hE<gt>\n" |
| 679 |
"\\&\n" |
| 680 |
"int\n" |
| 681 |
"main(int argc, char *argv[])\n" |
| 682 |
"{\n" |
| 683 |
" FILE *out, *in;\n" |
| 684 |
" int v, s;\n" |
| 685 |
" size_t size;\n" |
| 686 |
" char *ptr;\n" |
| 687 |
"\\&\n" |
| 688 |
" if (argc != 2) {\n" |
| 689 |
" fprintf(stderr, \"Usage: %s \\[aq]E<lt>numE<gt>...\\[aq]\\[rs]n\", argv[0]);\n" |
| 690 |
" exit(EXIT_FAILURE);\n" |
| 691 |
" }\n" |
| 692 |
"\\&\n" |
| 693 |
" in = fmemopen(argv[1], strlen(argv[1]), \"r\");\n" |
| 694 |
" if (in == NULL)\n" |
| 695 |
" err(EXIT_FAILURE, \"fmemopen\");\n" |
| 696 |
"\\&\n" |
| 697 |
" out = open_memstream(&ptr, &size);\n" |
| 698 |
" if (out == NULL)\n" |
| 699 |
" err(EXIT_FAILURE, \"open_memstream\");\n" |
| 700 |
"\\&\n" |
| 701 |
" for (;;) {\n" |
| 702 |
" s = fscanf(in, \"%d\", &v);\n" |
| 703 |
" if (s E<lt>= 0)\n" |
| 704 |
" break;\n" |
| 705 |
"\\&\n" |
| 706 |
" s = fprintf(out, \"%d \", v * v);\n" |
| 707 |
" if (s == -1)\n" |
| 708 |
" err(EXIT_FAILURE, \"fprintf\");\n" |
| 709 |
" }\n" |
| 710 |
"\\&\n" |
| 711 |
" fclose(in);\n" |
| 712 |
" fclose(out);\n" |
| 713 |
"\\&\n" |
| 714 |
" printf(\"size=%zu; ptr=%s\\[rs]n\", size, ptr);\n" |
| 715 |
"\\&\n" |
| 716 |
" free(ptr);\n" |
| 717 |
" exit(EXIT_SUCCESS);\n" |
| 718 |
"}\n" |
| 719 |
msgstr "" |
| 720 |
"#define _GNU_SOURCE\n" |
| 721 |
"#include E<lt>err.hE<gt>\n" |
| 722 |
"#include E<lt>stdio.hE<gt>\n" |
| 723 |
"#include E<lt>stdlib.hE<gt>\n" |
| 724 |
"#include E<lt>string.hE<gt>\n" |
| 725 |
"\\&\n" |
| 726 |
"int\n" |
| 727 |
"main(int argc, char *argv[])\n" |
| 728 |
"{\n" |
| 729 |
" FILE *out, *in;\n" |
| 730 |
" int v, s;\n" |
| 731 |
" size_t size;\n" |
| 732 |
" char *ptr;\n" |
| 733 |
"\\&\n" |
| 734 |
" if (argc != 2) {\n" |
| 735 |
" fprintf(stderr, \"Usage: %s \\[aq]E<lt>numE<gt>...\\[aq]\\[rs]n\", argv[0]);\n" |
| 736 |
" exit(EXIT_FAILURE);\n" |
| 737 |
" }\n" |
| 738 |
"\\&\n" |
| 739 |
" in = fmemopen(argv[1], strlen(argv[1]), \"r\");\n" |
| 740 |
" if (in == NULL)\n" |
| 741 |
" err(EXIT_FAILURE, \"fmemopen\");\n" |
| 742 |
"\\&\n" |
| 743 |
" out = open_memstream(&ptr, &size);\n" |
| 744 |
" if (out == NULL)\n" |
| 745 |
" err(EXIT_FAILURE, \"open_memstream\");\n" |
| 746 |
"\\&\n" |
| 747 |
" for (;;) {\n" |
| 748 |
" s = fscanf(in, \"%d\", &v);\n" |
| 749 |
" if (s E<lt>= 0)\n" |
| 750 |
" break;\n" |
| 751 |
"\\&\n" |
| 752 |
" s = fprintf(out, \"%d \", v * v);\n" |
| 753 |
" if (s == -1)\n" |
| 754 |
" err(EXIT_FAILURE, \"fprintf\");\n" |
| 755 |
" }\n" |
| 756 |
"\\&\n" |
| 757 |
" fclose(in);\n" |
| 758 |
" fclose(out);\n" |
| 759 |
"\\&\n" |
| 760 |
" printf(\"size=%zu; ptr=%s\\[rs]n\", size, ptr);\n" |
| 761 |
"\\&\n" |
| 762 |
" free(ptr);\n" |
| 763 |
" exit(EXIT_SUCCESS);\n" |
| 764 |
"}\n" |
| 765 |
|
| 766 |
#. SRC END |
| 767 |
#. type: SH |
| 768 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 769 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 770 |
#, no-wrap |
| 771 |
msgid "SEE ALSO" |
| 772 |
msgstr "انظر أيضًا" |
| 773 |
|
| 774 |
#. type: Plain text |
| 775 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 776 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 777 |
msgid "B<fopen>(3), B<fopencookie>(3), B<open_memstream>(3)" |
| 778 |
msgstr "B<fopen>(3)، B<fopencookie>(3)، B<open_memstream>(3)" |
| 779 |
|
| 780 |
#. type: TH |
| 781 |
#: debian-trixie |
| 782 |
#, no-wrap |
| 783 |
msgid "2024-06-15" |
| 784 |
msgstr "15 يونيو 2024" |
| 785 |
|
| 786 |
#. type: TH |
| 787 |
#: debian-trixie |
| 788 |
#, no-wrap |
| 789 |
msgid "Linux man-pages 6.9.1" |
| 790 |
msgstr "صفحات دليل لينكس 6.9.1" |
| 791 |
|
| 792 |
#. type: Plain text |
| 793 |
#: debian-trixie |
| 794 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 795 |
msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)" |
| 796 |
|
| 797 |
#. type: Plain text |
| 798 |
#: debian-trixie fedora-44 fedora-rawhide |
| 799 |
#, no-wrap |
| 800 |
msgid "B<FILE *fmemopen(void >I<buf>B<[.>I<size>B<], size_t >I<size>B<, const char *>I<mode>B<);>\n" |
| 801 |
msgstr "B<FILE *fmemopen(void >I<buf>B<[.>I<size>B<], size_t >I<size>B<, const char *>I<mode>B<);>\n" |
| 802 |
|
| 803 |
#. type: TH |
| 804 |
#: fedora-44 fedora-rawhide |
| 805 |
#, no-wrap |
| 806 |
msgid "2024-07-23" |
| 807 |
msgstr "23 يوليو 2024" |
| 808 |
|
| 809 |
#. type: TH |
| 810 |
#: fedora-44 fedora-rawhide |
| 811 |
#, no-wrap |
| 812 |
msgid "Linux man-pages 6.13" |
| 813 |
msgstr "صفحات دليل لينكس 6.13" |
| 814 |
|
| 815 |
#. type: TH |
| 816 |
#: mageia-cauldron |
| 817 |
#, no-wrap |
| 818 |
msgid "Linux man-pages 6.17" |
| 819 |
msgstr "صفحات دليل لينكس 6.17" |
| 820 |
|
| 821 |
#. type: TH |
| 822 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 823 |
#, no-wrap |
| 824 |
msgid "Linux man-pages (unreleased)" |
| 825 |
msgstr "صفحات دليل لينكس (لم تصدر بعد)" |