Debian Codegraph @

po/ar/man3/getutent.3.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:26+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 "getutent"
26 msgstr "getutent"
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 ""
52 "getutent, getutid, getutline, pututline, setutent, endutent, utmpname - "
53 "access utmp file entries"
54 msgstr ""
55 "getutent, getutid, getutline, pututline, setutent, endutent, utmpname - "
56 "الوصول إلى مدخلات ملف utmp"
57
58 #. type: SH
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 #, no-wrap
62 msgid "LIBRARY"
63 msgstr "المكتبة"
64
65 #. type: Plain text
66 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
67 #: opensuse-leap-16-1 opensuse-tumbleweed
68 msgid "Standard C library (I<libc>,\\ I<-lc>)"
69 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
70
71 #. type: SH
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "SYNOPSIS"
76 msgstr "موجز"
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "B<#include E<lt>utmp.hE<gt>>\n"
83 msgstr "B<#include E<lt>utmp.hE<gt>>\n"
84
85 #. type: Plain text
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid ""
90 "B<struct utmp *getutent(void);>\n"
91 "B<struct utmp *getutid(const struct utmp *>I<ut>B<);>\n"
92 "B<struct utmp *getutline(const struct utmp *>I<ut>B<);>\n"
93 msgstr ""
94 "B<struct utmp *getutent(void);>\n"
95 "B<struct utmp *getutid(const struct utmp *>I<ut>B<);>\n"
96 "B<struct utmp *getutline(const struct utmp *>I<ut>B<);>\n"
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 #, no-wrap
102 msgid "B<struct utmp *pututline(const struct utmp *>I<ut>B<);>\n"
103 msgstr "B<struct utmp *pututline(const struct utmp *>I<ut>B<);>\n"
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 #, no-wrap
109 msgid ""
110 "B<void setutent(void);>\n"
111 "B<void endutent(void);>\n"
112 msgstr ""
113 "B<void setutent(void);>\n"
114 "B<void endutent(void);>\n"
115
116 #. type: Plain text
117 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
118 #: opensuse-tumbleweed
119 #, no-wrap
120 msgid "B<int utmpname(const char *>I<path>B<);>\n"
121 msgstr "B<int utmpname(const char *>I<path>B<);>\n"
122
123 #. type: SH
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 #, no-wrap
127 msgid "DESCRIPTION"
128 msgstr "الوصف"
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid ""
134 "New applications should use the POSIX.1-specified \"utmpx\" versions of "
135 "these functions; see STANDARDS."
136 msgstr ""
137 "يجب على التطبيقات الجديدة استخدام إصدارات \"utmpx\" المحددة بواسطة POSIX.1 "
138 "من هذه الدوال؛ انظر المعايير."
139
140 #. type: Plain text
141 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
142 #: opensuse-tumbleweed
143 msgid ""
144 "B<utmpname>() sets the pathname of the utmp-format file for the other utmp "
145 "functions to access. If B<utmpname>() is not used to set the pathname "
146 "before the other functions are used, they assume B<_PATH_UTMP>, as defined "
147 "in I<E<lt>paths.hE<gt>>."
148 msgstr ""
149 "تضبط B<utmpname>() اسم مسار ملف تنسيق utmp لدوال utmp الأخرى للوصول إليه. "
150 "إذا لم تُستخدم B<utmpname>() لضبط اسم المسار قبل استخدام الدوال الأخرى، فإنها "
151 "تفترض B<_PATH_UTMP>، كما هو معرف في I<E<lt>paths.hE<gt>>."
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 msgid ""
157 "B<setutent>() rewinds the file pointer to the beginning of the utmp file. "
158 "It is generally a good idea to call it before any of the other functions."
159 msgstr ""
160 "تعيد B<setutent>() مؤشر الملف إلى بداية ملف utmp. من الجيد عمومًا استدعاؤها "
161 "قبل أي من الدوال الأخرى."
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 msgid ""
167 "B<endutent>() closes the utmp file. It should be called when the user code "
168 "is done accessing the file with the other functions."
169 msgstr ""
170 "تغلق B<endutent>() ملف utmp. يجب استدعاؤها عندما ينتهي كود المستخدم من "
171 "الوصول إلى الملف باستخدام الدوال الأخرى."
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 "B<getutent>() reads a line from the current file position in the utmp "
178 "file. It returns a pointer to a structure containing the fields of the "
179 "line. The definition of this structure is shown in B<utmp>(5)."
180 msgstr ""
181 "تقرأ B<getutent>() سطرًا من موضع الملف الحالي في ملف utmp. تُرجع مؤشرًا إلى "
182 "بنية تحتوي على حقول السطر. يظهر تعريف هذه البنية في B<utmp>(5)."
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 "B<getutid>() searches forward from the current file position in the utmp "
189 "file based upon I<ut>. If I<ut-E<gt>ut_type> is one of B<RUN_LVL>, "
190 "B<BOOT_TIME>, B<NEW_TIME>, or B<OLD_TIME>, B<getutid>() will find the first "
191 "entry whose I<ut_type> field matches I<ut-E<gt>ut_type>. If I<ut-"
192 "E<gt>ut_type> is one of B<INIT_PROCESS>, B<LOGIN_PROCESS>, B<USER_PROCESS>, "
193 "or B<DEAD_PROCESS>, B<getutid>() will find the first entry whose I<ut_id> "
194 "field matches I<ut-E<gt>ut_id>."
195 msgstr ""
196 "تبحث B<getutid>() للأمام من موضع الملف الحالي في ملف utmp بناءً على I<ut>. "
197 "إذا كان I<ut-E<gt>ut_type> واحدًا من B<RUN_LVL> أو B<BOOT_TIME> أو "
198 "B<NEW_TIME> أو B<OLD_TIME>، فستجد B<getutid>() أول مدخل يتطابق حقل "
199 "I<ut_type> فيه مع I<ut-E<gt>ut_type>. إذا كان I<ut-E<gt>ut_type> واحدًا من "
200 "B<INIT_PROCESS> أو B<LOGIN_PROCESS> أو B<USER_PROCESS> أو B<DEAD_PROCESS>، "
201 "فستجد B<getutid>() أول مدخل يتطابق حقل I<ut_id> فيه مع I<ut-E<gt>ut_id>."
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 msgid ""
207 "B<getutline>() searches forward from the current file position in the utmp "
208 "file. It scans entries whose I<ut_type> is B<USER_PROCESS> or "
209 "B<LOGIN_PROCESS> and returns the first one whose I<ut_line> field matches "
210 "I<ut-E<gt>ut_line>."
211 msgstr ""
212 "تبحث B<getutline>() للأمام من موضع الملف الحالي في ملف utmp. تفحص المدخلات "
213 "التي يكون I<ut_type> فيها B<USER_PROCESS> أو B<LOGIN_PROCESS> وتُعيد أول مدخل "
214 "يتطابق حقل I<ut_line> فيه مع I<ut-E<gt>ut_line>."
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 msgid ""
220 "B<pututline>() writes the I<utmp> structure I<ut> into the utmp file. It "
221 "uses B<getutid>() to search for the proper place in the file to insert the "
222 "new entry. If it cannot find an appropriate slot for I<ut>, B<pututline>() "
223 "will append the new entry to the end of the file."
224 msgstr ""
225 "تكتب B<pututline>() بنية I<utmp> I<ut> في ملف utmp. تستخدم B<getutid>() "
226 "للبحث عن المكان المناسب في الملف لإدراج المدخل الجديد. إذا لم تجد فتحة "
227 "مناسبة لـ I<ut>، فستلحق B<pututline>() المدخل الجديد بنهاية الملف."
228
229 #. type: SH
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 #, no-wrap
233 msgid "RETURN VALUE"
234 msgstr "قيمة الإرجاع"
235
236 #. type: Plain text
237 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
238 #: opensuse-tumbleweed
239 msgid ""
240 "B<getutent>(), B<getutid>(), and B<getutline>() return a pointer to a "
241 "I<struct\\ utmp> on success, and NULL on failure (which includes the "
242 "\"record not found\" case). This I<struct\\ utmp> is allocated in static "
243 "storage, and may be overwritten by subsequent calls."
244 msgstr ""
245 "تُعيد B<getutent>() و B<getutid>() و B<getutline>() مؤشرًا إلى I<struct\\ "
246 "utmp> عند النجاح، و NULL عند الفشل (والذي يتضمن حالة \"السجل غير موجود\"). "
247 "تُخصص هذه I<struct\\ utmp> في تخزين ثابت، وقد تُستبدل باستدعاءات لاحقة."
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid "On success B<pututline>() returns I<ut>; on failure, it returns NULL."
253 msgstr "عند النجاح، تُعيد B<pututline>() I<ut>؛ عند الفشل، تُعيد NULL."
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 msgid ""
259 "B<utmpname>() returns 0 if the new name was successfully stored, or -1 on "
260 "failure."
261 msgstr "تُعيد B<utmpname>() 0 إذا خُزن الاسم الجديد بنجاح، أو -1 عند الفشل."
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 "On failure, these functions I<errno> set to indicate the error."
267 msgstr "عند الفشل، تضبط هذه الدوال I<errno> للإشارة إلى الخطأ."
268
269 #. type: SH
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 #, no-wrap
273 msgid "ERRORS"
274 msgstr "الأخطاء"
275
276 #. type: TP
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 #, no-wrap
280 msgid "B<ENOMEM>"
281 msgstr "B<ENOMEM>"
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 "Out of memory."
287 msgstr "نفدت الذاكرة."
288
289 #. type: TP
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid "B<ESRCH>"
294 msgstr "B<ESRCH>"
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 "Record not found."
300 msgstr "السجل غير موجود."
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 msgid ""
306 "B<setutent>(), B<pututline>(), and the B<getut*>() functions can also fail "
307 "for the reasons described in B<open>(2)."
308 msgstr ""
309 "يمكن أن تفشل B<setutent>() و B<pututline>() ودوال B<getut*>() أيضًا للأسباب "
310 "الموصوفة في B<open>(2)."
311
312 #. type: SH
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "FILES"
317 msgstr "الملفات"
318
319 #. type: TP
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid "I</var/run/utmp>"
324 msgstr "I</var/run/utmp>"
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid "database of currently logged-in users"
330 msgstr "قاعدة بيانات المستخدمين المسجلين حاليًا"
331
332 #. type: TP
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "I</var/log/wtmp>"
337 msgstr "I</var/log/wtmp>"
338
339 #. type: Plain text
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 msgid "database of past user logins"
343 msgstr "قاعدة بيانات لعمليات تسجيل دخول المستخدمين السابقة"
344
345 #. type: SH
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid "ATTRIBUTES"
350 msgstr "السمات"
351
352 #. type: Plain text
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 msgid ""
356 "For an explanation of the terms used in this section, see B<attributes>(7)."
357 msgstr ""
358 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
359
360 #. type: tbl table
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 #, no-wrap
364 msgid "Interface"
365 msgstr "الواجهة"
366
367 #. type: tbl table
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 #, no-wrap
371 msgid "Attribute"
372 msgstr "السمة"
373
374 #. type: tbl table
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 #, no-wrap
378 msgid "Value"
379 msgstr "القيمة"
380
381 #. type: tbl table
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 #, no-wrap
385 msgid ".na\n"
386 msgstr ".na\n"
387
388 #. type: tbl table
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 #, no-wrap
392 msgid ".nh\n"
393 msgstr ".nh\n"
394
395 #. type: tbl table
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 #, no-wrap
399 msgid "B<getutent>()"
400 msgstr "B<getutent>()"
401
402 #. type: tbl table
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 #, no-wrap
406 msgid "Thread safety"
407 msgstr "سلامة الخيوط"
408
409 #. type: tbl table
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 #, no-wrap
413 msgid ""
414 "MT-Unsafe init race:utent\n"
415 "race:utentbuf sig:ALRM timer"
416 msgstr ""
417 "MT-Unsafe init race:utent\n"
418 "race:utentbuf sig:ALRM timer"
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 ""
425 "B<getutid>(),\n"
426 "B<getutline>()"
427 msgstr ""
428 "B<getutid>(),\n"
429 "B<getutline>()"
430
431 #. type: tbl table
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 #, no-wrap
435 msgid ""
436 "MT-Unsafe init race:utent\n"
437 "sig:ALRM timer"
438 msgstr ""
439 "MT-Unsafe init race:utent\n"
440 "sig:ALRM timer"
441
442 #. type: tbl table
443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
445 #, no-wrap
446 msgid "B<pututline>()"
447 msgstr "B<pututline>()"
448
449 #. type: tbl table
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 #, no-wrap
453 msgid ""
454 "MT-Unsafe race:utent\n"
455 "sig:ALRM timer"
456 msgstr ""
457 "غير آمن للمسارات المتعددة (MT-Unsafe) سباق:utent\n"
458 "إشارة:ALRM مؤقت"
459
460 #. type: tbl table
461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
463 #, no-wrap
464 msgid ""
465 "B<setutent>(),\n"
466 "B<endutent>(),\n"
467 "B<utmpname>()"
468 msgstr ""
469 "B<setutent>(),\n"
470 "B<endutent>(),\n"
471 "B<utmpname>()"
472
473 #. type: tbl table
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 #, no-wrap
477 msgid "MT-Unsafe race:utent"
478 msgstr "MT-Unsafe race:utent"
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 ""
484 "In the above table, I<utent> in I<race:utent> signifies that if any of the "
485 "functions B<setutent>(), B<getutent>(), B<getutid>(), B<getutline>(), "
486 "B<pututline>(), B<utmpname>(), or B<endutent>() are used in parallel in "
487 "different threads of a program, then data races could occur."
488 msgstr ""
489 "في الجدول أعلاه، يشير I<utent> في I<race:utent> إلى أنه إذا استُخدمت أي من "
490 "الدوال B<setutent>()، B<getutent>()، B<getutid>()، B<getutline>()، "
491 "B<pututline>()، B<utmpname>()، أو B<endutent>() بالتوازي في خيوط مختلفة من "
492 "برنامج، فقد تحدث سباقات بيانات."
493
494 #. type: SH
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 #, no-wrap
498 msgid "STANDARDS"
499 msgstr "المعايير"
500
501 #. type: Plain text
502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
504 msgid "None."
505 msgstr "لا شيء."
506
507 #. type: SH
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, no-wrap
511 msgid "HISTORY"
512 msgstr "التاريخ"
513
514 #. type: Plain text
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 msgid "XPG2, SVr4."
518 msgstr "XPG2، SVr4."
519
520 #. type: Plain text
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 msgid ""
524 "In XPG2 and SVID 2 the function B<pututline>() is documented to return "
525 "void, and that is what it does on many systems (AIX, HP-UX). HP-UX "
526 "introduces a new function B<_pututline>() with the prototype given above "
527 "for B<pututline>()."
528 msgstr ""
529 "في XPG2 وSVID 2، وُثقت الدالة B<pututline>() لترجع void، وهذا ما تفعله على "
530 "العديد من الأنظمة (AIX، HP-UX). تقدم HP-UX دالة جديدة B<_pututline>() "
531 "بالنموذج الأولي المذكور أعلاه لـ B<pututline>()."
532
533 #. type: Plain text
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 msgid ""
537 "All these functions are obsolete now on non-Linux systems. POSIX.1-2001 and "
538 "POSIX.1-2008, following SUSv1, does not have any of these functions, but "
539 "instead uses"
540 msgstr ""
541 "جميع هذه الدوال أصبحت مهملة الآن على الأنظمة غير اللينكسية. لا تحتوي "
542 "POSIX.1-2001 وPOSIX.1-2008، باتباع SUSv1، على أي من هذه الدوال، بل تستخدم "
543 "بدلاً من ذلك"
544
545 #. type: Plain text
546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
548 #, no-wrap
549 msgid "B<#include E<lt>utmpx.hE<gt>>\n"
550 msgstr "B<#include E<lt>utmpx.hE<gt>>\n"
551
552 #. type: Plain text
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 #, no-wrap
556 msgid ""
557 "B<struct utmpx *getutxent(void);>\n"
558 "B<struct utmpx *getutxid(const struct utmpx *);>\n"
559 "B<struct utmpx *getutxline(const struct utmpx *);>\n"
560 "B<struct utmpx *pututxline(const struct utmpx *);>\n"
561 "B<void setutxent(void);>\n"
562 "B<void endutxent(void);>\n"
563 msgstr ""
564 "B<struct utmpx *getutxent(void);>\n"
565 "B<struct utmpx *getutxid(const struct utmpx *);>\n"
566 "B<struct utmpx *getutxline(const struct utmpx *);>\n"
567 "B<struct utmpx *pututxline(const struct utmpx *);>\n"
568 "B<void setutxent(void);>\n"
569 "B<void endutxent(void);>\n"
570
571 #. type: Plain text
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 msgid ""
575 "These functions are provided by glibc, and perform the same task as their "
576 "equivalents without the \"x\", but use I<struct utmpx>, defined on Linux to "
577 "be the same as I<struct utmp>. For completeness, glibc also provides "
578 "B<utmpxname>(), although this function is not specified by POSIX.1."
579 msgstr ""
580 "تُوفر glibc هذه الدوال، وتؤدي نفس المهمة كمعادلاتها بدون \"x\"، لكنها تستخدم "
581 "I<struct utmpx>، المُعرَّف على لينكس ليكون مماثلاً لـ I<struct utmp>. للاكتمال، "
582 "توفر glibc أيضًا B<utmpxname>()، على الرغم من أن هذه الدالة غير محددة بواسطة "
583 "POSIX.1."
584
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 "On some other systems, the I<utmpx> structure is a superset of the I<utmp> "
590 "structure, with additional fields, and larger versions of the existing "
591 "fields, and parallel files are maintained, often I</var/*/utmpx> and I</var/"
592 "*/wtmpx>."
593 msgstr ""
594 "على بعض الأنظمة الأخرى، هيكل I<utmpx> هو مجموعة شاملة لهيكل I<utmp>، مع حقول "
595 "إضافية، وإصدارات أكبر من الحقول الموجودة، وتُحتفظ بملفات متوازية، غالبًا I</"
596 "var/*/utmpx> وI</var/*/wtmpx>."
597
598 #. type: Plain text
599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
601 msgid ""
602 "Linux glibc on the other hand does not use a parallel I<utmpx> file since "
603 "its I<utmp> structure is already large enough. The \"x\" functions listed "
604 "above are just aliases for their counterparts without the \"x\" (e.g., "
605 "B<getutxent>() is an alias for B<getutent>())."
606 msgstr ""
607 "من ناحية أخرى، لا تستخدم glibc على لينكس ملف I<utmpx> موازٍ لأن هيكل I<utmp> "
608 "الخاص بها كبير بما يكفي بالفعل. الدوال \"x\" المذكورة أعلاه هي مجرد أسماء "
609 "مستعارة لنظيراتها بدون \"x\" (على سبيل المثال، B<getutxent>() هو اسم بديل لـ "
610 "B<getutent>())."
611
612 #. type: SH
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 #, no-wrap
616 msgid "NOTES"
617 msgstr "ملاحظات"
618
619 #. type: SS
620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
621 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
622 #, no-wrap
623 msgid "glibc notes"
624 msgstr "ملاحظات glibc"
625
626 #. type: Plain text
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 msgid "The above functions are not thread-safe. glibc adds reentrant versions"
630 msgstr ""
631 "الدوال المذكورة أعلاه ليست آمنة للخيوط. تضيف glibc إصدارات قابلة لإعادة "
632 "الدخول"
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 #, no-wrap
638 msgid ""
639 "B<int getutent_r(struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n"
640 "B<int getutid_r(struct utmp *>I<ut>B<,>\n"
641 "B< struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n"
642 "B<int getutline_r(struct utmp *>I<ut>B<,>\n"
643 "B< struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n"
644 msgstr ""
645 "B<int getutent_r(struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n"
646 "B<int getutid_r(struct utmp *>I<ut>B<,>\n"
647 "B< struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n"
648 "B<int getutline_r(struct utmp *>I<ut>B<,>\n"
649 "B< struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n"
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 msgid ""
655 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
656 msgstr ""
657 "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B<feature_test_macros>(7)):"
658
659 #. type: Plain text
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 msgid "B<getutent_r>(), B<getutid_r>(), B<getutline_r>():"
663 msgstr "B<getutent_r>()، B<getutid_r>()، B<getutline_r>():"
664
665 #. type: Plain text
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
668 #, no-wrap
669 msgid ""
670 " _GNU_SOURCE\n"
671 " || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n"
672 " || /* glibc E<lt>= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n"
673 msgstr ""
674 " _GNU_SOURCE\n"
675 " || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n"
676 " || /* glibc E<lt>= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n"
677
678 #. type: Plain text
679 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
680 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
681 msgid ""
682 "These functions are GNU extensions, analogs of the functions of the same "
683 "name without the _r suffix. The I<ubuf> argument gives these functions a "
684 "place to store their result. On success, they return 0, and a pointer to "
685 "the result is written in I<*ubufp>. On error, these functions return -1. "
686 "There are no utmpx equivalents of the above functions. (POSIX.1 does not "
687 "specify such functions.)"
688 msgstr ""
689 "هذه الدوال هي إضافات GNU، نظائر الدوال ذات الاسم نفسه دون اللاحقة _r. تُعطي "
690 "الوسيطة I<ubuf> لهذه الدوال مكانًا لتخزين نتيجتها. عند النجاح، تُرجع 0، ويُكتب "
691 "مؤشر إلى النتيجة في I<*ubufp>. عند الخطأ، تُرجع هذه الدوال -1. لا توجد "
692 "مكافئات utmpx للدوال المذكورة أعلاه. (لا يحدد POSIX.1 مثل هذه الدوال.)"
693
694 #. type: SH
695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
697 #, no-wrap
698 msgid "EXAMPLES"
699 msgstr "أمثلة"
700
701 #. type: Plain text
702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
704 msgid ""
705 "The following example adds and removes a utmp record, assuming it is run "
706 "from within a pseudo terminal. For usage in a real application, you should "
707 "check the return values of B<getpwuid>(3) and B<ttyname>(3)."
708 msgstr ""
709 "يُضيف المثال التالي ويزيل سجل utmp، بافتراض أنه يُشغّل من داخل طرفية زائفة. "
710 "للاستخدام في تطبيق حقيقي، يجب عليك التحقق من قيم الإرجاع للدالتين "
711 "B<getpwuid>(3) و B<ttyname>(3)."
712
713 #. type: Plain text
714 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
715 #: opensuse-leap-16-1 opensuse-tumbleweed
716 #, no-wrap
717 msgid ""
718 "#include E<lt>err.hE<gt>\n"
719 "#include E<lt>pwd.hE<gt>\n"
720 "#include E<lt>stdlib.hE<gt>\n"
721 "#include E<lt>string.hE<gt>\n"
722 "#include E<lt>time.hE<gt>\n"
723 "#include E<lt>unistd.hE<gt>\n"
724 "#include E<lt>utmp.hE<gt>\n"
725 "\\&\n"
726 "int\n"
727 "main(void)\n"
728 "{\n"
729 " struct utmp entry;\n"
730 "\\&\n"
731 " if (system(\"echo before adding entry:;who\") == -1)\n"
732 " err(EXIT_FAILURE, \"system\");\n"
733 "\\&\n"
734 " entry.ut_type = USER_PROCESS;\n"
735 " entry.ut_pid = getpid();\n"
736 " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n"
737 " /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n"
738 " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n"
739 " entry.ut_time = time(NULL);\n"
740 " strcpy(entry.ut_user, getpwuid(getuid())-E<gt>pw_name);\n"
741 " memset(entry.ut_host, 0, UT_HOSTSIZE);\n"
742 " entry.ut_addr = 0;\n"
743 " setutent();\n"
744 " if (pututline(&entry) == NULL)\n"
745 " err(EXIT_FAILURE, \"pututline\");\n"
746 "\\&\n"
747 " if (system(\"echo after adding entry:;who\") == -1)\n"
748 " err(EXIT_FAILURE, \"system\");\n"
749 "\\&\n"
750 " entry.ut_type = DEAD_PROCESS;\n"
751 " memset(entry.ut_line, 0, UT_LINESIZE);\n"
752 " entry.ut_time = 0;\n"
753 " memset(entry.ut_user, 0, UT_NAMESIZE);\n"
754 " setutent();\n"
755 " if (pututline(&entry) == NULL)\n"
756 " err(EXIT_FAILURE, \"pututline\");\n"
757 "\\&\n"
758 " if (system(\"echo after removing entry:;who\") == -1)\n"
759 " err(EXIT_FAILURE, \"system\");\n"
760 "\\&\n"
761 " endutent();\n"
762 " exit(EXIT_SUCCESS);\n"
763 "}\n"
764 msgstr ""
765 "#include E<lt>err.hE<gt>\n"
766 "#include E<lt>pwd.hE<gt>\n"
767 "#include E<lt>stdlib.hE<gt>\n"
768 "#include E<lt>string.hE<gt>\n"
769 "#include E<lt>time.hE<gt>\n"
770 "#include E<lt>unistd.hE<gt>\n"
771 "#include E<lt>utmp.hE<gt>\n"
772 "\\&\n"
773 "int\n"
774 "main(void)\n"
775 "{\n"
776 " struct utmp entry;\n"
777 "\\&\n"
778 " if (system(\"echo before adding entry:;who\") == -1)\n"
779 " err(EXIT_FAILURE, \"system\");\n"
780 "\\&\n"
781 " entry.ut_type = USER_PROCESS;\n"
782 " entry.ut_pid = getpid();\n"
783 " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n"
784 " /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n"
785 " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n"
786 " entry.ut_time = time(NULL);\n"
787 " strcpy(entry.ut_user, getpwuid(getuid())-E<gt>pw_name);\n"
788 " memset(entry.ut_host, 0, UT_HOSTSIZE);\n"
789 " entry.ut_addr = 0;\n"
790 " setutent();\n"
791 " if (pututline(&entry) == NULL)\n"
792 " err(EXIT_FAILURE, \"pututline\");\n"
793 "\\&\n"
794 " if (system(\"echo after adding entry:;who\") == -1)\n"
795 " err(EXIT_FAILURE, \"system\");\n"
796 "\\&\n"
797 " entry.ut_type = DEAD_PROCESS;\n"
798 " memset(entry.ut_line, 0, UT_LINESIZE);\n"
799 " entry.ut_time = 0;\n"
800 " memset(entry.ut_user, 0, UT_NAMESIZE);\n"
801 " setutent();\n"
802 " if (pututline(&entry) == NULL)\n"
803 " err(EXIT_FAILURE, \"pututline\");\n"
804 "\\&\n"
805 " if (system(\"echo after removing entry:;who\") == -1)\n"
806 " err(EXIT_FAILURE, \"system\");\n"
807 "\\&\n"
808 " endutent();\n"
809 " exit(EXIT_SUCCESS);\n"
810 "}\n"
811
812 #. SRC END
813 #. type: SH
814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
816 #, no-wrap
817 msgid "SEE ALSO"
818 msgstr "انظر أيضًا"
819
820 #. type: Plain text
821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
823 msgid "B<getutmp>(3), B<utmp>(5)"
824 msgstr "B<getutmp>(3), B<utmp>(5)"
825
826 #. type: TH
827 #: debian-trixie
828 #, no-wrap
829 msgid "2024-05-02"
830 msgstr "2 مايو 2024"
831
832 #. type: TH
833 #: debian-trixie
834 #, no-wrap
835 msgid "Linux man-pages 6.9.1"
836 msgstr "صفحات دليل لينكس 6.9.1"
837
838 #. type: Plain text
839 #: debian-trixie
840 msgid "Standard C library (I<libc>, I<-lc>)"
841 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
842
843 #. type: Plain text
844 #: debian-trixie fedora-44 fedora-rawhide
845 #, no-wrap
846 msgid "B<int utmpname(const char *>I<file>B<);>\n"
847 msgstr "B<int utmpname(const char *>I<file>B<);>\n"
848
849 #. type: Plain text
850 #: debian-trixie fedora-44 fedora-rawhide
851 msgid ""
852 "B<utmpname>() sets the name of the utmp-format file for the other utmp "
853 "functions to access. If B<utmpname>() is not used to set the filename "
854 "before the other functions are used, they assume B<_PATH_UTMP>, as defined "
855 "in I<E<lt>paths.hE<gt>>."
856 msgstr ""
857 "تضبط B<utmpname>() اسم ملف تنسيق utmp لدوال utmp الأخرى للوصول إليه. إذا لم "
858 "تُستخدم B<utmpname>() لتعيين اسم الملف قبل استخدام الدوال الأخرى، فإنها تفترض "
859 "B<_PATH_UTMP>، كما هو مُعرّف في I<E<lt>paths.hE<gt>>."
860
861 #. type: Plain text
862 #: debian-trixie fedora-44 fedora-rawhide
863 msgid ""
864 "B<getutent>(), B<getutid>(), and B<getutline>() return a pointer to a "
865 "I<struct utmp> on success, and NULL on failure (which includes the \"record "
866 "not found\" case). This I<struct utmp> is allocated in static storage, and "
867 "may be overwritten by subsequent calls."
868 msgstr ""
869 "تُرجع B<getutent>() و B<getutid>() و B<getutline>() مؤشرًا إلى I<struct utmp> "
870 "عند النجاح، و NULL عند الفشل (والذي يتضمن حالة \"السجل غير موجود\"). يُخصص "
871 "هذا I<struct utmp> في تخزين ثابت، وقد يُستبدل باستدعاءات لاحقة."
872
873 #. type: Plain text
874 #: debian-trixie
875 #, no-wrap
876 msgid ""
877 "#include E<lt>pwd.hE<gt>\n"
878 "#include E<lt>stdlib.hE<gt>\n"
879 "#include E<lt>string.hE<gt>\n"
880 "#include E<lt>time.hE<gt>\n"
881 "#include E<lt>unistd.hE<gt>\n"
882 "#include E<lt>utmp.hE<gt>\n"
883 "\\&\n"
884 "int\n"
885 "main(void)\n"
886 "{\n"
887 " struct utmp entry;\n"
888 "\\&\n"
889 " system(\"echo before adding entry:;who\");\n"
890 "\\&\n"
891 " entry.ut_type = USER_PROCESS;\n"
892 " entry.ut_pid = getpid();\n"
893 " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n"
894 " /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n"
895 " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n"
896 " entry.ut_time = time(NULL);\n"
897 " strcpy(entry.ut_user, getpwuid(getuid())-E<gt>pw_name);\n"
898 " memset(entry.ut_host, 0, UT_HOSTSIZE);\n"
899 " entry.ut_addr = 0;\n"
900 " setutent();\n"
901 " pututline(&entry);\n"
902 "\\&\n"
903 " system(\"echo after adding entry:;who\");\n"
904 "\\&\n"
905 " entry.ut_type = DEAD_PROCESS;\n"
906 " memset(entry.ut_line, 0, UT_LINESIZE);\n"
907 " entry.ut_time = 0;\n"
908 " memset(entry.ut_user, 0, UT_NAMESIZE);\n"
909 " setutent();\n"
910 " pututline(&entry);\n"
911 "\\&\n"
912 " system(\"echo after removing entry:;who\");\n"
913 "\\&\n"
914 " endutent();\n"
915 " exit(EXIT_SUCCESS);\n"
916 "}\n"
917 msgstr ""
918 "#include E<lt>pwd.hE<gt>\n"
919 "#include E<lt>stdlib.hE<gt>\n"
920 "#include E<lt>string.hE<gt>\n"
921 "#include E<lt>time.hE<gt>\n"
922 "#include E<lt>unistd.hE<gt>\n"
923 "#include E<lt>utmp.hE<gt>\n"
924 "\\&\n"
925 "int\n"
926 "main(void)\n"
927 "{\n"
928 " struct utmp entry;\n"
929 "\\&\n"
930 " system(\"echo before adding entry:;who\");\n"
931 "\\&\n"
932 " entry.ut_type = USER_PROCESS;\n"
933 " entry.ut_pid = getpid();\n"
934 " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n"
935 " /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n"
936 " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n"
937 " entry.ut_time = time(NULL);\n"
938 " strcpy(entry.ut_user, getpwuid(getuid())-E<gt>pw_name);\n"
939 " memset(entry.ut_host, 0, UT_HOSTSIZE);\n"
940 " entry.ut_addr = 0;\n"
941 " setutent();\n"
942 " pututline(&entry);\n"
943 "\\&\n"
944 " system(\"echo after adding entry:;who\");\n"
945 "\\&\n"
946 " entry.ut_type = DEAD_PROCESS;\n"
947 " memset(entry.ut_line, 0, UT_LINESIZE);\n"
948 " entry.ut_time = 0;\n"
949 " memset(entry.ut_user, 0, UT_NAMESIZE);\n"
950 " setutent();\n"
951 " pututline(&entry);\n"
952 "\\&\n"
953 " system(\"echo after removing entry:;who\");\n"
954 "\\&\n"
955 " endutent();\n"
956 " exit(EXIT_SUCCESS);\n"
957 "}\n"
958
959 #. type: TH
960 #: fedora-44 fedora-rawhide
961 #, no-wrap
962 msgid "2024-07-23"
963 msgstr "23 يوليو 2024"
964
965 #. type: TH
966 #: fedora-44 fedora-rawhide
967 #, no-wrap
968 msgid "Linux man-pages 6.13"
969 msgstr "صفحات دليل لينكس 6.13"
970
971 #. type: TH
972 #: mageia-cauldron
973 #, no-wrap
974 msgid "Linux man-pages 6.17"
975 msgstr "صفحات دليل لينكس 6.17"
976
977 #. type: TH
978 #: opensuse-leap-16-1 opensuse-tumbleweed
979 #, no-wrap
980 msgid "Linux man-pages (unreleased)"
981 msgstr "صفحات دليل لينكس (لم تصدر بعد)"