Debian Codegraph @

po/ar/man2/getpid.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\n"
8 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
9 "PO-Revision-Date: 2026-05-20 21:08+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 "getpid"
25 msgstr "getpid"
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 "getpid, getppid - get process identification"
51 msgstr "getpid، getppid - جلب معرّف العملية"
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>unistd.hE<gt>>\n"
78 msgstr "B<#include E<lt>unistd.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<pid_t getpid(void);>\n"
86 "B<pid_t getppid(void);>\n"
87 msgstr ""
88 "B<pid_t getpid(void);>\n"
89 "B<pid_t getppid(void);>\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<getpid>() returns the process ID (PID) of the calling process. (This is "
103 "often used by routines that generate unique temporary filenames.)"
104 msgstr ""
105 "تُعيد B<getpid>() معرف العملية (PID) للعملية المستدعِية. (يُستخدم هذا غالبًا "
106 "بواسطة الروتينات التي تولد أسماء ملفات مؤقتة فريدة.)"
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 msgid ""
112 "B<getppid>() returns the process ID of the parent of the calling process. "
113 "This will be either the ID of the process that created this process using "
114 "B<fork>(), or, if that process has already terminated, the ID of the process "
115 "to which this process has been reparented (either B<init>(1) or a "
116 "\"subreaper\" process defined via the B<prctl>(2) B<PR_SET_CHILD_SUBREAPER> "
117 "operation)."
118 msgstr ""
119 "تُعيد B<getppid>() معرف العملية للأب للعملية المستدعِية. سيكون هذا إما معرف "
120 "العملية التي أنشأت هذه العملية باستخدام B<fork>()، أو، إذا كانت تلك العملية "
121 "قد انتهت بالفعل، معرف العملية التي أُعيدت تبعية هذه العملية إليها (إما "
122 "B<init>(1) أو عملية \"subreaper\" عُرّفت عبر عملية B<PR_SET_CHILD_SUBREAPER> "
123 "في B<prctl>(2))."
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 "ERRORS"
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 "These functions are always successful."
136 msgstr "تنجح هذه الدوال دائمًا."
137
138 #. type: SH
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 #, no-wrap
142 msgid "VERSIONS"
143 msgstr "الإصدارات"
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid ""
149 "On Alpha, instead of a pair of B<getpid>() and B<getppid>() system calls, "
150 "a single B<getxpid>() system call is provided, which returns a pair of PID "
151 "and parent PID. The glibc B<getpid>() and B<getppid>() wrapper functions "
152 "transparently deal with this. See B<syscall>(2) for details regarding "
153 "register mapping."
154 msgstr ""
155 "في Alpha، وبدلاً من زوج من استدعاءات النظام B<getpid>() و B<getppid>()، يُوفّر "
156 "استدعاء نظام واحد B<getxpid>()، والذي يُعيد زوجًا من معرّف العملية PID ومعرّف "
157 "عملية الأب. تتعامل دوال الغلاف B<getpid>() و B<getppid>() في glibc مع هذا "
158 "بشفافية. انظر B<syscall>(2) لمزيد من التفاصيل المتعلقة بربط السجلات."
159
160 #. type: SH
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 #, no-wrap
164 msgid "STANDARDS"
165 msgstr "المعايير"
166
167 #. type: Plain text
168 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
169 #: opensuse-tumbleweed
170 msgid "POSIX.1-2024."
171 msgstr "POSIX.1-2024."
172
173 #. type: SH
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 #, no-wrap
177 msgid "HISTORY"
178 msgstr "التاريخ"
179
180 #. type: Plain text
181 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
182 #: opensuse-tumbleweed
183 msgid "4.3BSD, SVr4, POSIX.1-1988."
184 msgstr "4.3BSD، SVr4، POSIX.1-1988."
185
186 #. type: SS
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 #, no-wrap
190 msgid "C library/kernel differences"
191 msgstr "الاختلافات بين مكتبة C والنواة"
192
193 #
194 #
195 #
196 #
197 #. The following program demonstrates this "feature":
198 #. #define _GNU_SOURCE
199 #. #include <sys/syscall.h>
200 #. #include <sys/wait.h>
201 #. #include <stdint.h>
202 #. #include <stdio.h>
203 #. #include <stdlib.h>
204 #. #include <unistd.h>
205 #. int
206 #. main(int argc, char *argv[])
207 #. {
208 #. /* The following statement fills the getpid() cache */
209 #. printf("parent PID = %ld
210 #. ", (intmax_t) getpid());
211 #. if (syscall(SYS_fork) == 0) {
212 #. if (getpid() != syscall(SYS_getpid))
213 #. printf("child getpid() mismatch: getpid()=%jd; "
214 #. "syscall(SYS_getpid)=%ld
215 #. ",
216 #. (intmax_t) getpid(), (long) syscall(SYS_getpid));
217 #. exit(EXIT_SUCCESS);
218 #. }
219 #. wait(NULL);
220 #. }
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "From glibc 2.3.4 up to and including glibc 2.24, the glibc wrapper function "
226 "for B<getpid>() cached PIDs, with the goal of avoiding additional system "
227 "calls when a process calls B<getpid>() repeatedly. Normally this caching "
228 "was invisible, but its correct operation relied on support in the wrapper "
229 "functions for B<fork>(2), B<vfork>(2), and B<clone>(2): if an application "
230 "bypassed the glibc wrappers for these system calls by using B<syscall>(2), "
231 "then a call to B<getpid>() in the child would return the wrong value (to be "
232 "precise: it would return the PID of the parent process). In addition, there "
233 "were cases where B<getpid>() could return the wrong value even when "
234 "invoking B<clone>(2) via the glibc wrapper function. (For a discussion of "
235 "one such case, see BUGS in B<clone>(2).) Furthermore, the complexity of the "
236 "caching code had been the source of a few bugs within glibc over the years."
237 msgstr ""
238 "من الإصدار 2.3.4 من glibc وحتى الإصدار 2.24 (بما في ذلك)، خَبّأت دالة الغلاف "
239 "في glibc لـ B<getpid>() معرّفات العمليات PIDs، بهدف تجنب استدعاءات النظام "
240 "الإضافية عندما تستدعي العملية B<getpid>() بشكل متكرر. عادة ما كانت هذه "
241 "الخبيئة غير مرئية، ولكن تشغيلها الصحيح اعتمد على الدعم في دوال الغلاف لـ "
242 "B<fork>(2) و B<vfork>(2) و B<clone>(2): إذا تجاوز التطبيق أغلفة glibc "
243 "لاستدعاءات النظام هذه باستخدام B<syscall>(2)، فإن استدعاء B<getpid>() في "
244 "الابن سيُعيد قيمة خاطئة (لنكون دقيقين: سيُعيد PID الخاص بالعملية الأب). "
245 "بالإضافة إلى ذلك، كانت هناك حالات يمكن أن تُعيد فيها B<getpid>() قيمة خاطئة "
246 "حتى عند استدعاء B<clone>(2) عبر دالة غلاف glibc. (لمناقشة إحدى هذه الحالات، "
247 "انظر BUGS في B<clone>(2).) علاوة على ذلك، كان تعقيد كود الخبيئة مصدرًا لبعض "
248 "الأخطاء البرمجية داخل glibc على مر السنين."
249
250 #. commit c579f48edba88380635ab98cb612030e3ed8691e
251 #. https://sourceware.org/glibc/wiki/Release/2.25#pid_cache_removal
252 #. FIXME .
253 #. Review progress of https://bugzilla.redhat.com/show_bug.cgi?id=1469757
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid ""
258 "Because of the aforementioned problems, since glibc 2.25, the PID cache is "
259 "removed: calls to B<getpid>() always invoke the actual system call, rather "
260 "than returning a cached value."
261 msgstr ""
262 "بسبب المشاكل المذكورة أعلاه، أُزيلت خبيئة PID منذ الإصدار 2.25 من glibc: "
263 "تستدعي استدعاءات B<getpid>() دائمًا استدعاء النظام الفعلي، بدلاً من إعادة قيمة "
264 "مخبأة."
265
266 #. type: SH
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "NOTES"
271 msgstr "ملاحظات"
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 the caller's parent is in a different PID namespace (see "
278 "B<pid_namespaces>(7)), B<getppid>() returns 0."
279 msgstr ""
280 "إذا كان أب المستدعِي في مساحة أسماء PID مختلفة (انظر B<pid_namespaces>(7))، "
281 "تُعيد B<getppid>() القيمة 0."
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 "From a kernel perspective, the PID (which is shared by all of the threads in "
288 "a multithreaded process) is sometimes also known as the thread group ID "
289 "(TGID). This contrasts with the kernel thread ID (TID), which is unique for "
290 "each thread. For further details, see B<gettid>(2) and the discussion of "
291 "the B<CLONE_THREAD> flag in B<clone>(2)."
292 msgstr ""
293 "من منظور النواة، يُعرف PID (المشترك بين جميع الخيوط في عملية متعددة الخيوط) "
294 "أحيانًا أيضًا باسم معرف مجموعة الخيوط (TGID). وهذا يتناقض مع معرف خيط النواة "
295 "(TID)، وهو فريد لكل خيط. لمزيد من التفاصيل، راجع B<gettid>(2) ومناقشة علم "
296 "B<CLONE_THREAD> في B<clone>(2)."
297
298 #. type: SH
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid "SEE ALSO"
303 msgstr "انظر أيضًا"
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 "B<clone>(2), B<fork>(2), B<gettid>(2), B<kill>(2), B<exec>(3), "
310 "B<mkstemp>(3), B<tempnam>(3), B<tmpfile>(3), B<tmpnam>(3), "
311 "B<credentials>(7), B<pid_namespaces>(7)"
312 msgstr ""
313 "B<clone>(2), B<fork>(2), B<gettid>(2), B<kill>(2), B<exec>(3), "
314 "B<mkstemp>(3), B<tempnam>(3), B<tmpfile>(3), B<tmpnam>(3), "
315 "B<credentials>(7), B<pid_namespaces>(7)"
316
317 #. type: TH
318 #: debian-trixie
319 #, no-wrap
320 msgid "2024-05-02"
321 msgstr "2 مايو 2024"
322
323 #. type: TH
324 #: debian-trixie
325 #, no-wrap
326 msgid "Linux man-pages 6.9.1"
327 msgstr "صفحات دليل لينكس 6.9.1"
328
329 #. type: Plain text
330 #: debian-trixie
331 msgid "Standard C library (I<libc>, I<-lc>)"
332 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
333
334 #. type: Plain text
335 #: debian-trixie fedora-44 fedora-rawhide
336 msgid "POSIX.1-2008."
337 msgstr "POSIX.1-2008."
338
339 #. type: Plain text
340 #: debian-trixie fedora-44 fedora-rawhide
341 msgid "POSIX.1-2001, 4.3BSD, SVr4."
342 msgstr "POSIX.1-2001، 4.3BSD، SVr4."
343
344 #. type: TH
345 #: fedora-44 fedora-rawhide
346 #, no-wrap
347 msgid "2024-07-23"
348 msgstr "23 يوليو 2024"
349
350 #. type: TH
351 #: fedora-44 fedora-rawhide
352 #, no-wrap
353 msgid "Linux man-pages 6.13"
354 msgstr "صفحات دليل لينكس 6.13"
355
356 #. type: TH
357 #: mageia-cauldron
358 #, no-wrap
359 msgid "Linux man-pages 6.17"
360 msgstr "صفحات دليل لينكس 6.17"
361
362 #. type: TH
363 #: opensuse-leap-16-1 opensuse-tumbleweed
364 #, no-wrap
365 msgid "Linux man-pages (unreleased)"
366 msgstr "صفحات دليل لينكس (لم تصدر بعد)"