Debian Codegraph @

po/ar/man2/getpeername.2.po

raw
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:25+0200\n"
9 "PO-Revision-Date: 2026-05-18 17:18+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 "getpeername"
25 msgstr "getpeername"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2025-10-29"
32 msgstr "29 أكتوبر 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 "getpeername - get name of connected peer socket"
51 msgstr "getpeername - الحصول على اسم المقبس النظير المتصل"
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/socket.hE<gt>>\n"
78 msgstr "B<#include E<lt>sys/socket.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<int getpeername(int >I<sockfd>B<, struct sockaddr *restrict >I<addr>B<,>\n"
86 "B< socklen_t *restrict >I<addrlen>B<);>\n"
87 msgstr ""
88 "B<int getpeername(int >I<sockfd>B<, struct sockaddr *restrict >I<addr>B<,>\n"
89 "B< socklen_t *restrict >I<addrlen>B<);>\n"
90
91 #. type: SH
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr "الوصف"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "B<getpeername>() returns the address of the peer connected to the socket "
103 "I<sockfd>, in the buffer pointed to by I<addr>. The I<addrlen> argument "
104 "should be initialized to indicate the amount of space pointed to by "
105 "I<addr>. On return it contains the actual size of the name returned (in "
106 "bytes). The name is truncated if the buffer provided is too small."
107 msgstr ""
108 "ترجع B<getpeername>() عنوان النظير المتصل بالمقبس I<sockfd>، في المخزن "
109 "المؤقت المشار إليه بواسطة I<addr>. يجب تهيئة وسيط I<addrlen> للإشارة إلى "
110 "مقدار المساحة المشار إليها بواسطة I<addr>. عند العودة، يحتوي على الحجم "
111 "الفعلي للاسم المُعاد (بالبايت). يُبتَر الاسم إذا كان المخزن المؤقت المُقدم صغيرًا "
112 "جدًا."
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 msgid ""
118 "The returned address is truncated if the buffer provided is too small; in "
119 "this case, I<addrlen> will return a value greater than was supplied to the "
120 "call."
121 msgstr ""
122 "يُبتر العنوان المُعاد إذا كان المخزن المؤقت المقدم صغيرًا جدًا؛ وفي هذه الحالة، "
123 "سيعيد I<addrlen> قيمة أكبر مما تم تمريره للاستدعاء."
124
125 #. type: SH
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 #, no-wrap
129 msgid "RETURN VALUE"
130 msgstr "قيمة الإرجاع"
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid ""
136 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
137 "to indicate the error."
138 msgstr ""
139 "عند النجاح، يُعاد الصفر. وعند حدوث خطأ، يُعاد الرقم -1، ويُضبط I<errno> للإشارة "
140 "إلى الخطأ."
141
142 #. type: SH
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 #, no-wrap
146 msgid "ERRORS"
147 msgstr "الأخطاء"
148
149 #. type: TP
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 #, no-wrap
153 msgid "B<EBADF>"
154 msgstr "B<EBADF>"
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid "The argument I<sockfd> is not a valid file descriptor."
160 msgstr "المعامل I<sockfd> ليس واصف ملف صالح."
161
162 #. type: TP
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 #, no-wrap
166 msgid "B<EFAULT>"
167 msgstr "B<EFAULT>"
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 msgid ""
173 "The I<addr> argument points to memory not in a valid part of the process "
174 "address space."
175 msgstr ""
176 "يُشير المعامل I<addr> إلى ذاكرة ليست في جزء صالح من مساحة عناوين العملية."
177
178 #. type: TP
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 #, no-wrap
182 msgid "B<EINVAL>"
183 msgstr "B<EINVAL>"
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 msgid "I<addrlen> is invalid (e.g., is negative)."
189 msgstr "I<addrlen> غير صالح (مثلاً، قيمته سالبة)."
190
191 #. type: TP
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 #, no-wrap
195 msgid "B<ENOBUFS>"
196 msgstr "B<ENOBUFS>"
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 msgid ""
202 "Insufficient resources were available in the system to perform the operation."
203 msgstr "الموارد المتوفرة في النظام غير كافية لإجراء العملية."
204
205 #. type: TP
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "B<ENOTCONN>"
210 msgstr "B<ENOTCONN>"
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid "The socket is not connected."
216 msgstr "المقبس غير متصل."
217
218 #. type: TP
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "B<ENOTSOCK>"
223 msgstr "B<ENOTSOCK>"
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid "The file descriptor I<sockfd> does not refer to a socket."
229 msgstr "واصف الملف I<sockfd> لا يشير إلى مقبس."
230
231 #. type: SH
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "STANDARDS"
236 msgstr "المعايير"
237
238 #. type: Plain text
239 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
240 #: opensuse-tumbleweed
241 msgid "POSIX.1-2024."
242 msgstr "POSIX.1-2024."
243
244 #. type: SH
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "HISTORY"
249 msgstr "التاريخ"
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid "POSIX.1-2001, SVr4, 4.4BSD (first appeared in 4.2BSD)."
255 msgstr "POSIX.1-2001, SVr4, 4.4BSD (ظهر أول مرة في 4.2BSD)."
256
257 #. type: SH
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "NOTES"
262 msgstr "ملاحظات"
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid ""
268 "For stream sockets, once a B<connect>(2) has been performed, either socket "
269 "can call B<getpeername>() to obtain the address of the peer socket. On the "
270 "other hand, datagram sockets are connectionless. Calling B<connect>(2) on "
271 "a datagram socket merely sets the peer address for outgoing datagrams sent "
272 "with B<write>(2) or B<recv>(2). The caller of B<connect>(2) can use "
273 "B<getpeername>() to obtain the peer address that it earlier set for the "
274 "socket. However, the peer socket is unaware of this information, and "
275 "calling B<getpeername>() on the peer socket will return no useful "
276 "information (unless a B<connect>(2) call was also executed on the peer). "
277 "Note also that the receiver of a datagram can obtain the address of the "
278 "sender when using B<recvfrom>(2)."
279 msgstr ""
280 "بالنسبة لمقابس التدفق، بمجرد تنفيذ B<connect>(2)، يمكن لأي من المقبسين "
281 "استدعاء B<getpeername>() للحصول على عنوان مقبس النظير. من ناحية أخرى، مقابس "
282 "البيانات (datagram) هي بدون اتصال. استدعاء B<connect>(2) على مقبس بيانات "
283 "يضبط فقط عنوان النظير للبيانات الصادرة المُرسلة مع B<write>(2) أو B<recv>(2). "
284 "يمكن لمستدعي B<connect>(2) استخدام B<getpeername>() للحصول على عنوان النظير "
285 "الذي عيّنه سابقًا للمقبس. ومع ذلك، فإن مقبس النظير غير مُطّلع على هذه المعلومات، "
286 "ولن يُرجع استدعاء B<getpeername>() على مقبس النظير أي معلومات مفيدة (إلا إذا "
287 "تم أيضًا تنفيذ استدعاء B<connect>(2) على النظير). لاحظ أيضًا أن مستقبل "
288 "البيانات يمكنه الحصول على عنوان المُرسل عند استخدام B<recvfrom>(2)."
289
290 #. type: SH
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid "SEE ALSO"
295 msgstr "انظر أيضًا"
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid ""
301 "B<accept>(2), B<bind>(2), B<getsockname>(2), B<ip>(7), B<socket>(7), "
302 "B<unix>(7)"
303 msgstr ""
304 "B<accept>(2), B<bind>(2), B<getsockname>(2), B<ip>(7), B<socket>(7), "
305 "B<unix>(7)"
306
307 #. type: TH
308 #: debian-trixie
309 #, no-wrap
310 msgid "2024-05-02"
311 msgstr "2 مايو 2024"
312
313 #. type: TH
314 #: debian-trixie
315 #, no-wrap
316 msgid "Linux man-pages 6.9.1"
317 msgstr "صفحات دليل لينكس 6.9.1"
318
319 #. type: Plain text
320 #: debian-trixie
321 msgid "Standard C library (I<libc>, I<-lc>)"
322 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
323
324 #. type: Plain text
325 #: debian-trixie fedora-44 fedora-rawhide
326 msgid "POSIX.1-2008."
327 msgstr "POSIX.1-2008."
328
329 #. type: TH
330 #: fedora-44 fedora-rawhide
331 #, no-wrap
332 msgid "2024-07-23"
333 msgstr "23 يوليو 2024"
334
335 #. type: TH
336 #: fedora-44 fedora-rawhide
337 #, no-wrap
338 msgid "Linux man-pages 6.13"
339 msgstr "صفحات دليل لينكس 6.13"
340
341 #. type: TH
342 #: mageia-cauldron
343 #, no-wrap
344 msgid "Linux man-pages 6.17"
345 msgstr "صفحات دليل لينكس 6.17"
346
347 #. type: TH
348 #: opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "Linux man-pages (unreleased)"
351 msgstr "صفحات دليل لينكس (لم تصدر بعد)"