| 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:23+0200\n" |
| 9 |
"PO-Revision-Date: 2026-06-01 18:58+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 "endian" |
| 25 |
msgstr "endian" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 29 |
#: opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "2025-05-17" |
| 32 |
msgstr "17 مايو 2025" |
| 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 "" |
| 51 |
"htobe16, htole16, be16toh, le16toh, htobe32, htole32, be32toh, le32toh, " |
| 52 |
"htobe64, htole64, be64toh, le64toh - convert values between host and big-/" |
| 53 |
"little-endian byte order" |
| 54 |
msgstr "" |
| 55 |
"htobe16، و htole16، و be16toh، و le16toh، و htobe32، و htole32، و be32toh، و " |
| 56 |
"le32toh، و htobe64، و htole64، و be64toh، و le64toh - تحويل القيم بين ترتيب " |
| 57 |
"باييتات المضيف وترتيب الباييتات الكبير/الصغير (big-/little-endian)" |
| 58 |
|
| 59 |
#. type: SH |
| 60 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 61 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
#, no-wrap |
| 63 |
msgid "LIBRARY" |
| 64 |
msgstr "المكتبة" |
| 65 |
|
| 66 |
#. type: Plain text |
| 67 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 68 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 70 |
msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)" |
| 71 |
|
| 72 |
#. type: SH |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "SYNOPSIS" |
| 77 |
msgstr "موجز" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "B<#include E<lt>endian.hE<gt>>\n" |
| 84 |
msgstr "B<#include E<lt>endian.hE<gt>>\n" |
| 85 |
|
| 86 |
#. type: Plain text |
| 87 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 88 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 89 |
#, no-wrap |
| 90 |
msgid "" |
| 91 |
"B<uint16_t htobe16(uint16_t >I<host_16bits>B<);>\n" |
| 92 |
"B<uint16_t htole16(uint16_t >I<host_16bits>B<);>\n" |
| 93 |
"B<uint16_t be16toh(uint16_t >I<big_endian_16bits>B<);>\n" |
| 94 |
"B<uint16_t le16toh(uint16_t >I<little_endian_16bits>B<);>\n" |
| 95 |
msgstr "" |
| 96 |
"B<uint16_t htobe16(uint16_t >I<host_16bits>B<);>\n" |
| 97 |
"B<uint16_t htole16(uint16_t >I<host_16bits>B<);>\n" |
| 98 |
"B<uint16_t be16toh(uint16_t >I<big_endian_16bits>B<);>\n" |
| 99 |
"B<uint16_t le16toh(uint16_t >I<little_endian_16bits>B<);>\n" |
| 100 |
|
| 101 |
#. type: Plain text |
| 102 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 103 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 104 |
#, no-wrap |
| 105 |
msgid "" |
| 106 |
"B<uint32_t htobe32(uint32_t >I<host_32bits>B<);>\n" |
| 107 |
"B<uint32_t htole32(uint32_t >I<host_32bits>B<);>\n" |
| 108 |
"B<uint32_t be32toh(uint32_t >I<big_endian_32bits>B<);>\n" |
| 109 |
"B<uint32_t le32toh(uint32_t >I<little_endian_32bits>B<);>\n" |
| 110 |
msgstr "" |
| 111 |
"B<uint32_t htobe32(uint32_t >I<host_32bits>B<);>\n" |
| 112 |
"B<uint32_t htole32(uint32_t >I<host_32bits>B<);>\n" |
| 113 |
"B<uint32_t be32toh(uint32_t >I<big_endian_32bits>B<);>\n" |
| 114 |
"B<uint32_t le32toh(uint32_t >I<little_endian_32bits>B<);>\n" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
#, no-wrap |
| 120 |
msgid "" |
| 121 |
"B<uint64_t htobe64(uint64_t >I<host_64bits>B<);>\n" |
| 122 |
"B<uint64_t htole64(uint64_t >I<host_64bits>B<);>\n" |
| 123 |
"B<uint64_t be64toh(uint64_t >I<big_endian_64bits>B<);>\n" |
| 124 |
"B<uint64_t le64toh(uint64_t >I<little_endian_64bits>B<);>\n" |
| 125 |
msgstr "" |
| 126 |
"B<uint64_t htobe64(uint64_t >I<host_64bits>B<);>\n" |
| 127 |
"B<uint64_t htole64(uint64_t >I<host_64bits>B<);>\n" |
| 128 |
"B<uint64_t be64toh(uint64_t >I<big_endian_64bits>B<);>\n" |
| 129 |
"B<uint64_t le64toh(uint64_t >I<little_endian_64bits>B<);>\n" |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
msgid "" |
| 135 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 136 |
msgstr "" |
| 137 |
"متطلبات ماكروات اختبار الميزات لـ glibc (انظر B<feature_test_macros>(7)):" |
| 138 |
|
| 139 |
#. type: Plain text |
| 140 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 141 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 142 |
msgid "" |
| 143 |
"B<htobe16>(), B<htole16>(), B<be16toh>(), B<le16toh>(), B<htobe32>(), " |
| 144 |
"B<htole32>(), B<be32toh>(), B<le32toh>(), B<htobe64>(), B<htole64>(), " |
| 145 |
"B<be64toh>(), B<le64toh>():" |
| 146 |
msgstr "" |
| 147 |
"B<htobe16>(), B<htole16>(), B<be16toh>(), B<le16toh>(), B<htobe32>(), " |
| 148 |
"B<htole32>(), B<be32toh>(), B<le32toh>(), B<htobe64>(), B<htole64>(), " |
| 149 |
"B<be64toh>(), B<le64toh>():" |
| 150 |
|
| 151 |
#. type: Plain text |
| 152 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 153 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 154 |
#, no-wrap |
| 155 |
msgid "" |
| 156 |
" Since glibc 2.19:\n" |
| 157 |
" _DEFAULT_SOURCE\n" |
| 158 |
" In glibc up to and including 2.19:\n" |
| 159 |
" _BSD_SOURCE\n" |
| 160 |
msgstr "" |
| 161 |
" منذ glibc 2.19:\n" |
| 162 |
" _DEFAULT_SOURCE\n" |
| 163 |
" في glibc حتى 2.19 (بما في ذلك 2.19):\n" |
| 164 |
" _BSD_SOURCE\n" |
| 165 |
|
| 166 |
#. type: SH |
| 167 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 168 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 169 |
#, no-wrap |
| 170 |
msgid "DESCRIPTION" |
| 171 |
msgstr "الوصف" |
| 172 |
|
| 173 |
#. type: Plain text |
| 174 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 175 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 176 |
msgid "" |
| 177 |
"These functions convert the byte encoding of integer values from the byte " |
| 178 |
"order that the current CPU (the \"host\") uses, to and from little-endian " |
| 179 |
"and big-endian byte order." |
| 180 |
msgstr "" |
| 181 |
"تحوّل هذه الدوال ترميز البايت للقيم الصحيحة من ترتيب البايت الذي تستخدمه وحدة " |
| 182 |
"المعالجة المركزية الحالية (\"المضيف\")، إلى ومن ترتيب البايت الصغير والكبير." |
| 183 |
|
| 184 |
#. type: Plain text |
| 185 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 186 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 187 |
msgid "" |
| 188 |
"The number, I<nn>, in the name of each function indicates the size of " |
| 189 |
"integer handled by the function, either 16, 32, or 64 bits." |
| 190 |
msgstr "" |
| 191 |
"يشير الرقم I<nn> في اسم كل دالة إلى حجم العدد الصحيح الذي تعالجه الدالة، إما " |
| 192 |
"16 أو 32 أو 64 بت." |
| 193 |
|
| 194 |
#. type: Plain text |
| 195 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 196 |
#: opensuse-tumbleweed |
| 197 |
msgid "" |
| 198 |
"The functions with names of the form \\[dq]htobeI<nn>\\[dq] convert from " |
| 199 |
"host byte order to big-endian order." |
| 200 |
msgstr "" |
| 201 |
"الدوال التي أسماؤها على الشكل \\[dq]htobeI<nn>\\[dq] تحوِّل من ترتيب البايتات " |
| 202 |
"المُضيف إلى الترتيب الكبير-النهاية." |
| 203 |
|
| 204 |
#. type: Plain text |
| 205 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 206 |
#: opensuse-tumbleweed |
| 207 |
msgid "" |
| 208 |
"The functions with names of the form \\[dq]htoleI<nn>\\[dq] convert from " |
| 209 |
"host byte order to little-endian order." |
| 210 |
msgstr "" |
| 211 |
"الدوال التي أسماؤها على الشكل \\[dq]htoleI<nn>\\[dq] تحوِّل من ترتيب البايتات " |
| 212 |
"المُضيف إلى الترتيب الصغير-النهاية." |
| 213 |
|
| 214 |
#. type: Plain text |
| 215 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 216 |
#: opensuse-tumbleweed |
| 217 |
msgid "" |
| 218 |
"The functions with names of the form \\[dq]beI<nn>toh\\[dq] convert from big-" |
| 219 |
"endian order to host byte order." |
| 220 |
msgstr "" |
| 221 |
"الدوال التي أسماؤها على الشكل \\[dq]beI<nn>toh\\[dq] تحوِّل من الترتيب الكبير-" |
| 222 |
"النهاية إلى ترتيب البايتات المُضيف." |
| 223 |
|
| 224 |
#. type: Plain text |
| 225 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 226 |
#: opensuse-tumbleweed |
| 227 |
msgid "" |
| 228 |
"The functions with names of the form \\[dq]leI<nn>toh\\[dq] convert from " |
| 229 |
"little-endian order to host byte order." |
| 230 |
msgstr "" |
| 231 |
"الدوال التي أسماؤها على الشكل \\[dq]leI<nn>toh\\[dq] تحوِّل من الترتيب الصغير-" |
| 232 |
"النهاية إلى ترتيب البايتات المُضيف." |
| 233 |
|
| 234 |
#. type: SH |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
#, no-wrap |
| 238 |
msgid "VERSIONS" |
| 239 |
msgstr "الإصدارات" |
| 240 |
|
| 241 |
#. type: Plain text |
| 242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 244 |
msgid "" |
| 245 |
"Similar functions are present on the BSDs, where the required header file is " |
| 246 |
"I<E<lt>sys/endian.hE<gt>> instead of I<E<lt>endian.hE<gt>>. Unfortunately, " |
| 247 |
"NetBSD, FreeBSD, and glibc haven't followed the original OpenBSD naming " |
| 248 |
"convention for these functions, whereby the I<nn> component always appears " |
| 249 |
"at the end of the function name (thus, for example, in NetBSD, FreeBSD, and " |
| 250 |
"glibc, the equivalent of OpenBSDs \"betoh32\" is \"be32toh\")." |
| 251 |
msgstr "" |
| 252 |
"توجد دوال مماثلة على أنظمة BSD، حيث ملف الرأس المطلوب هو I<E<lt>sys/endian." |
| 253 |
"hE<gt>> بدلاً من I<E<lt>endian.hE<gt>>. لسوء الحظ، لم تتبع NetBSD وFreeBSD " |
| 254 |
"وglibc اصطلاح التسمية الأصلي لـOpenBSD لهذه الدوال، حيث يظهر المكون I<nn> " |
| 255 |
"دائمًا في نهاية اسم الدالة (وهكذا، على سبيل المثال، في NetBSD وFreeBSD " |
| 256 |
"وglibc، فإن المكافئ لـ \"betoh32\" في OpenBSD هو \"be32toh\")." |
| 257 |
|
| 258 |
#. type: SH |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
#, no-wrap |
| 262 |
msgid "STANDARDS" |
| 263 |
msgstr "المعايير" |
| 264 |
|
| 265 |
#. type: Plain text |
| 266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 268 |
msgid "None." |
| 269 |
msgstr "لا شيء." |
| 270 |
|
| 271 |
#. type: SH |
| 272 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 273 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 274 |
#, no-wrap |
| 275 |
msgid "HISTORY" |
| 276 |
msgstr "التاريخ" |
| 277 |
|
| 278 |
#. type: Plain text |
| 279 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 280 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 281 |
msgid "glibc 2.9." |
| 282 |
msgstr "glibc 2.9." |
| 283 |
|
| 284 |
#. type: Plain text |
| 285 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 286 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 287 |
msgid "" |
| 288 |
"These functions are similar to the older B<byteorder>(3) family of " |
| 289 |
"functions. For example, B<be32toh>() is identical to B<ntohl>()." |
| 290 |
msgstr "" |
| 291 |
"تشبه هذه الدوال عائلة الدوال الأقدم B<byteorder>(3). على سبيل المثال، " |
| 292 |
"B<be32toh>() مطابقة لـ B<ntohl>()." |
| 293 |
|
| 294 |
#. type: Plain text |
| 295 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 296 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 297 |
msgid "" |
| 298 |
"The advantage of the B<byteorder>(3) functions is that they are standard " |
| 299 |
"functions available on all UNIX systems. On the other hand, the fact that " |
| 300 |
"they were designed for use in the context of TCP/IP means that they lack the " |
| 301 |
"64-bit and little-endian variants described in this page." |
| 302 |
msgstr "" |
| 303 |
"ميزة دوال B<byteorder>(3) هي أنها دوال قياسية متوفرة على جميع أنظمة UNIX. من " |
| 304 |
"ناحية أخرى، فإن حقيقة أنها صُممت للاستخدام في سياق TCP/IP تعني أنها تفتقر إلى " |
| 305 |
"المتغيرات ذات 64 بت والترتيب الصغير الموصوفة في هذه الصفحة." |
| 306 |
|
| 307 |
#. type: SH |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "EXAMPLES" |
| 312 |
msgstr "أمثلة" |
| 313 |
|
| 314 |
#. type: Plain text |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
msgid "" |
| 318 |
"The program below display the results of converting an integer from host " |
| 319 |
"byte order to both little-endian and big-endian byte order. Since host byte " |
| 320 |
"order is either little-endian or big-endian, only one of these conversions " |
| 321 |
"will have an effect. When we run this program on a little-endian system " |
| 322 |
"such as x86-32, we see the following:" |
| 323 |
msgstr "" |
| 324 |
"يعرض البرنامج أدناه نتائج تحويل عدد صحيح من ترتيب بايت المضيف إلى كل من " |
| 325 |
"ترتيب البايت الصغير والكبير. نظرًا لأن ترتيب بايت المضيف إما صغير أو كبير، " |
| 326 |
"فإن واحدًا فقط من هذه التحويلات سيكون له تأثير. عند تشغيل هذا البرنامج على " |
| 327 |
"نظام ذي ترتيب صغير مثل x86-32، نرى ما يلي:" |
| 328 |
|
| 329 |
#. type: Plain text |
| 330 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 331 |
#: opensuse-tumbleweed |
| 332 |
#, no-wrap |
| 333 |
msgid "" |
| 334 |
"$B< ./a.out>;\n" |
| 335 |
"x.u32 = 0x44332211\n" |
| 336 |
"htole32(x.u32) = 0x44332211\n" |
| 337 |
"htobe32(x.u32) = 0x11223344\n" |
| 338 |
msgstr "" |
| 339 |
"$B< ./a.out>;\n" |
| 340 |
"x.u32 = 0x44332211\n" |
| 341 |
"htole32(x.u32) = 0x44332211\n" |
| 342 |
"htobe32(x.u32) = 0x11223344\n" |
| 343 |
|
| 344 |
#. type: SS |
| 345 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 346 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 347 |
#, no-wrap |
| 348 |
msgid "Program source" |
| 349 |
msgstr "مصدر البرنامج" |
| 350 |
|
| 351 |
#. type: Plain text |
| 352 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 353 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 354 |
#, no-wrap |
| 355 |
msgid "" |
| 356 |
"#include E<lt>endian.hE<gt>\n" |
| 357 |
"#include E<lt>stdint.hE<gt>\n" |
| 358 |
"#include E<lt>stdio.hE<gt>\n" |
| 359 |
"#include E<lt>stdlib.hE<gt>\n" |
| 360 |
"\\&\n" |
| 361 |
"int\n" |
| 362 |
"main(void)\n" |
| 363 |
"{\n" |
| 364 |
" union {\n" |
| 365 |
" uint32_t u32;\n" |
| 366 |
" uint8_t arr[4];\n" |
| 367 |
" } x;\n" |
| 368 |
"\\&\n" |
| 369 |
" x.arr[0] = 0x11;\t/* Lowest-address byte */\n" |
| 370 |
" x.arr[1] = 0x22;\n" |
| 371 |
" x.arr[2] = 0x33;\n" |
| 372 |
" x.arr[3] = 0x44;\t/* Highest-address byte */\n" |
| 373 |
"\\&\n" |
| 374 |
" printf(\"x.u32 = %#x\\[rs]n\", x.u32);\n" |
| 375 |
" printf(\"htole32(x.u32) = %#x\\[rs]n\", htole32(x.u32));\n" |
| 376 |
" printf(\"htobe32(x.u32) = %#x\\[rs]n\", htobe32(x.u32));\n" |
| 377 |
"\\&\n" |
| 378 |
" exit(EXIT_SUCCESS);\n" |
| 379 |
"}\n" |
| 380 |
msgstr "" |
| 381 |
"#include E<lt>endian.hE<gt>\n" |
| 382 |
"#include E<lt>stdint.hE<gt>\n" |
| 383 |
"#include E<lt>stdio.hE<gt>\n" |
| 384 |
"#include E<lt>stdlib.hE<gt>\n" |
| 385 |
"\\&\n" |
| 386 |
"int\n" |
| 387 |
"main(void)\n" |
| 388 |
"{\n" |
| 389 |
" union {\n" |
| 390 |
" uint32_t u32;\n" |
| 391 |
" uint8_t arr[4];\n" |
| 392 |
" } x;\n" |
| 393 |
"\\&\n" |
| 394 |
" x.arr[0] = 0x11;\t/* Lowest-address byte */\n" |
| 395 |
" x.arr[1] = 0x22;\n" |
| 396 |
" x.arr[2] = 0x33;\n" |
| 397 |
" x.arr[3] = 0x44;\t/* Highest-address byte */\n" |
| 398 |
"\\&\n" |
| 399 |
" printf(\"x.u32 = %#x\\[rs]n\", x.u32);\n" |
| 400 |
" printf(\"htole32(x.u32) = %#x\\[rs]n\", htole32(x.u32));\n" |
| 401 |
" printf(\"htobe32(x.u32) = %#x\\[rs]n\", htobe32(x.u32));\n" |
| 402 |
"\\&\n" |
| 403 |
" exit(EXIT_SUCCESS);\n" |
| 404 |
"}\n" |
| 405 |
|
| 406 |
#. SRC END |
| 407 |
#. type: SH |
| 408 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 409 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 410 |
#, no-wrap |
| 411 |
msgid "SEE ALSO" |
| 412 |
msgstr "انظر أيضًا" |
| 413 |
|
| 414 |
#. type: Plain text |
| 415 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 416 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 417 |
msgid "B<bswap>(3), B<byteorder>(3)" |
| 418 |
msgstr "B<bswap>(3)، B<byteorder>(3)" |
| 419 |
|
| 420 |
#. type: TH |
| 421 |
#: debian-trixie |
| 422 |
#, no-wrap |
| 423 |
msgid "2024-06-15" |
| 424 |
msgstr "15 يونيو 2024" |
| 425 |
|
| 426 |
#. type: TH |
| 427 |
#: debian-trixie |
| 428 |
#, no-wrap |
| 429 |
msgid "Linux man-pages 6.9.1" |
| 430 |
msgstr "صفحات دليل لينكس 6.9.1" |
| 431 |
|
| 432 |
#. type: Plain text |
| 433 |
#: debian-trixie |
| 434 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 435 |
msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)" |
| 436 |
|
| 437 |
#. type: Plain text |
| 438 |
#: debian-trixie fedora-44 fedora-rawhide |
| 439 |
msgid "" |
| 440 |
"The functions with names of the form \"htobeI<nn>\" convert from host byte " |
| 441 |
"order to big-endian order." |
| 442 |
msgstr "" |
| 443 |
"الدوال التي أسماؤها على الشكل \"htobeI<nn>\" تحوِّل من ترتيب البايتات المُضيف " |
| 444 |
"إلى الترتيب الكبير-النهاية." |
| 445 |
|
| 446 |
#. type: Plain text |
| 447 |
#: debian-trixie fedora-44 fedora-rawhide |
| 448 |
msgid "" |
| 449 |
"The functions with names of the form \"htoleI<nn>\" convert from host byte " |
| 450 |
"order to little-endian order." |
| 451 |
msgstr "" |
| 452 |
"الدوال التي أسماؤها على الشكل \"htoleI<nn>\" تحوِّل من ترتيب البايتات المُضيف " |
| 453 |
"إلى الترتيب الصغير-النهاية." |
| 454 |
|
| 455 |
#. type: Plain text |
| 456 |
#: debian-trixie fedora-44 fedora-rawhide |
| 457 |
msgid "" |
| 458 |
"The functions with names of the form \"beI<nn>toh\" convert from big-endian " |
| 459 |
"order to host byte order." |
| 460 |
msgstr "" |
| 461 |
"الدوال التي أسماؤها على الشكل \"beI<nn>toh\" تحوِّل من الترتيب الكبير-النهاية " |
| 462 |
"إلى ترتيب البايتات المُضيف." |
| 463 |
|
| 464 |
#. type: Plain text |
| 465 |
#: debian-trixie fedora-44 fedora-rawhide |
| 466 |
msgid "" |
| 467 |
"The functions with names of the form \"leI<nn>toh\" convert from little-" |
| 468 |
"endian order to host byte order." |
| 469 |
msgstr "" |
| 470 |
"الدوال التي أسماؤها على الشكل \"leI<nn>toh\" تحوِّل من الترتيب الصغير-النهاية " |
| 471 |
"إلى ترتيب البايتات المُضيف." |
| 472 |
|
| 473 |
#. type: Plain text |
| 474 |
#: debian-trixie fedora-44 fedora-rawhide |
| 475 |
#, no-wrap |
| 476 |
msgid "" |
| 477 |
"$ B<./a.out>\n" |
| 478 |
"x.u32 = 0x44332211\n" |
| 479 |
"htole32(x.u32) = 0x44332211\n" |
| 480 |
"htobe32(x.u32) = 0x11223344\n" |
| 481 |
msgstr "" |
| 482 |
"$ B<./a.out>\n" |
| 483 |
"x.u32 = 0x44332211\n" |
| 484 |
"htole32(x.u32) = 0x44332211\n" |
| 485 |
"htobe32(x.u32) = 0x11223344\n" |
| 486 |
|
| 487 |
#. type: TH |
| 488 |
#: fedora-44 fedora-rawhide |
| 489 |
#, no-wrap |
| 490 |
msgid "2024-07-23" |
| 491 |
msgstr "23 يوليو 2024" |
| 492 |
|
| 493 |
#. type: TH |
| 494 |
#: fedora-44 fedora-rawhide |
| 495 |
#, no-wrap |
| 496 |
msgid "Linux man-pages 6.13" |
| 497 |
msgstr "صفحات دليل لينكس 6.13" |
| 498 |
|
| 499 |
#. type: TH |
| 500 |
#: mageia-cauldron |
| 501 |
#, no-wrap |
| 502 |
msgid "Linux man-pages 6.17" |
| 503 |
msgstr "صفحات دليل لينكس 6.17" |
| 504 |
|
| 505 |
#. type: TH |
| 506 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 507 |
#, no-wrap |
| 508 |
msgid "Linux man-pages (unreleased)" |
| 509 |
msgstr "صفحات دليل لينكس (لم تصدر بعد)" |