Debian Codegraph @

po/pl/man3/getutent.3.po

raw
1 # Polish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Robert Luberda <[email protected]>, 2006, 2012, 2019.
5 # Michał Kułach <[email protected]>, 2013, 2014, 2016, 2024, 2025.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-pl\n"
9 "POT-Creation-Date: 2026-06-05 06:26+0200\n"
10 "PO-Revision-Date: 2025-09-28 18:32+0200\n"
11 "Last-Translator: Michał Kułach <[email protected]>\n"
12 "Language-Team: Polish <[email protected]>\n"
13 "Language: pl\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "X-Generator: Lokalize 25.04.0\n"
18 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
19 "|| n%100>=20) ? 1 : 2);\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 lutego 2026 r."
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, no-wrap
38 msgid "Linux man-pages 6.18"
39 msgstr "Linux man-pages 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 "NAZWA"
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 "dostęp do wpisów pliku 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 "BIBLIOTEKA"
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 "Standardowa biblioteka C (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 "SKŁADNIA"
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 "OPIS"
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 "Nowe aplikacje powinny używać podanych w standardzie POSIX.1 wersji \\"
138 "[Bq]utmpx\\[rq] tych funkcji, zob. rozdział STANDARDY."
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>() ustawia ścieżkę pliku w formacie utmp, który będzie używany "
150 "przez pozostałe funkcje utmp. Jeżeli nie użyto B<utmpname>() do ustawienia "
151 "ścieżki przed wywołaniem innych funkcji, to używają one B<_PATH_UTMP>, "
152 "zdefiniowanej w I<E<lt>paths.hE<gt>>."
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "B<setutent>() rewinds the file pointer to the beginning of the utmp file. "
159 "It is generally a good idea to call it before any of the other functions."
160 msgstr ""
161 "B<setutent>() przesuwa wskaźnik pliku z powrotem na początek pliku utmp. "
162 "Funkcja ta powinna zostać wywołana przed wywołaniem którejkolwiek z "
163 "pozostałych funkcji."
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "B<endutent>() closes the utmp file. It should be called when the user code "
170 "is done accessing the file with the other functions."
171 msgstr ""
172 "B<endutent>() zamyka plik utmp. Powinna być wywołana, gdy program już "
173 "zakończył używanie tego pliku przy pomocy innych funkcji. "
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "B<getutent>() reads a line from the current file position in the utmp "
180 "file. It returns a pointer to a structure containing the fields of the "
181 "line. The definition of this structure is shown in B<utmp>(5)."
182 msgstr ""
183 "B<getutent>() odczytuje linię z pliku utmp, zaczynając od bieżącej pozycji w "
184 "tym pliku. Zwraca wskaźnik do struktury zawierającej pola linii. Definicję "
185 "tej struktury opisano w B<utmp>(5)."
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid ""
191 "B<getutid>() searches forward from the current file position in the utmp "
192 "file based upon I<ut>. If I<ut-E<gt>ut_type> is one of B<RUN_LVL>, "
193 "B<BOOT_TIME>, B<NEW_TIME>, or B<OLD_TIME>, B<getutid>() will find the first "
194 "entry whose I<ut_type> field matches I<ut-E<gt>ut_type>. If I<ut-"
195 "E<gt>ut_type> is one of B<INIT_PROCESS>, B<LOGIN_PROCESS>, B<USER_PROCESS>, "
196 "or B<DEAD_PROCESS>, B<getutid>() will find the first entry whose I<ut_id> "
197 "field matches I<ut-E<gt>ut_id>."
198 msgstr ""
199 "B<getutid>() przeszukuje plik w przód, zaczynając od bieżącej pozycji, "
200 "biorąc pod uwagę parametr I<ut>. Jeżeli I<ut-E<gt>ut_type> jest jednym z "
201 "B<RUN_LVL>, B<BOOT_TIME>, B<NEW_TIME> lub B<OLD_TIME>, to B<getutid>() "
202 "wyszuka pierwszy rekord, którego pole I<ut_type> odpowiada I<ut-"
203 "E<gt>ut_type>. Jeżeli I<ut-E<gt>ut_type> jest jednym z B<INIT_PROCESS>, "
204 "B<LOGIN_PROCESS>, B<USER_PROCESS> lub B<DEAD_PROCESS>, to B<getutid>() "
205 "wyszuka pierwszy wpis, którego pole I<ut_id> pasuje do I<ut-E<gt>ut_id>."
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "B<getutline>() searches forward from the current file position in the utmp "
212 "file. It scans entries whose I<ut_type> is B<USER_PROCESS> or "
213 "B<LOGIN_PROCESS> and returns the first one whose I<ut_line> field matches "
214 "I<ut-E<gt>ut_line>."
215 msgstr ""
216 "B<getutline>() przeszukuje plik utmp w przód, zaczynając od bieżącej pozycji "
217 "w pliku. Sprawdza wpisy, których I<ut_type> jest równe B<USER_PROCESS> lub "
218 "B<LOGIN_PROCESS>, i zwraca pierwszy z nich, którego pole I<ut_line> "
219 "odpowiada I<ut-E<gt>ut_line>."
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 "B<pututline>() writes the I<utmp> structure I<ut> into the utmp file. It "
226 "uses B<getutid>() to search for the proper place in the file to insert the "
227 "new entry. If it cannot find an appropriate slot for I<ut>, B<pututline>() "
228 "will append the new entry to the end of the file."
229 msgstr ""
230 "B<pututline>() zapisuje strukturę I<ut>, której typem jest I<utmp>, do pliku "
231 "utmp. Używa B<getutid>(), aby znaleźć odpowiednie miejsce do dodania nowego "
232 "rekordu. Jeśli go nie znajdzie, to B<pututline>() doda nowy wpis na końcu "
233 "pliku."
234
235 #. type: SH
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "RETURN VALUE"
240 msgstr "WARTOŚĆ ZWRACANA"
241
242 #. type: Plain text
243 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
244 #: opensuse-tumbleweed
245 msgid ""
246 "B<getutent>(), B<getutid>(), and B<getutline>() return a pointer to a "
247 "I<struct\\ utmp> on success, and NULL on failure (which includes the "
248 "\"record not found\" case). This I<struct\\ utmp> is allocated in static "
249 "storage, and may be overwritten by subsequent calls."
250 msgstr ""
251 "Funkcje B<getutent>(), B<getutid>() i B<getutline>() zwracają wskaźnik do "
252 "I<struct\\ utmp>, jeśli zakończą się powodzeniem, lub NULL w razie "
253 "wystąpienia błędu. I<struct\\ utmp> jest zaalokowana w statycznej "
254 "przestrzeni danych i może zostać nadpisana przez kolejne wywołania funkcji."
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 "On success B<pututline>() returns I<ut>; on failure, it returns NULL."
260 msgstr ""
261 "Funkcja B<pututline>() zwraca I<ut>, jeśli zakończy się powodzeniem, lub "
262 "NULL w razie wystąpienia błędu."
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 "B<utmpname>() returns 0 if the new name was successfully stored, or -1 on "
269 "failure."
270 msgstr ""
271 "B<utmpname>() zwraca 0, jeśli zachowano nową nazwę, lub -1 w przypadku błędu."
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 "On failure, these functions I<errno> set to indicate the error."
277 msgstr "W przypadku błędu, funkcje te ustawiają I<errno> wskazując błąd."
278
279 #. type: SH
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "ERRORS"
284 msgstr "BŁĘDY"
285
286 #. type: TP
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "B<ENOMEM>"
291 msgstr "B<ENOMEM>"
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 msgid "Out of memory."
297 msgstr "Brak pamięci."
298
299 #. type: TP
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "B<ESRCH>"
304 msgstr "B<ESRCH>"
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid "Record not found."
310 msgstr "Nie znaleziono rekordu."
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 msgid ""
316 "B<setutent>(), B<pututline>(), and the B<getut*>() functions can also fail "
317 "for the reasons described in B<open>(2)."
318 msgstr ""
319 "Funkcje B<setutent>(), B<pututline>() i B<getut*>() mogą także zwrócić błędy "
320 "opisane w B<open>(2)."
321
322 #. type: SH
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "FILES"
327 msgstr "PLIKI"
328
329 #. type: TP
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid "I</var/run/utmp>"
334 msgstr "I</var/run/utmp>"
335
336 #. type: Plain text
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 msgid "database of currently logged-in users"
340 msgstr "baza danych obecnie zalogowanych użytkowników"
341
342 #. type: TP
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 #, no-wrap
346 msgid "I</var/log/wtmp>"
347 msgstr "I</var/log/wtmp>"
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 msgid "database of past user logins"
353 msgstr "baza danych poprzednich logowań użytkowników"
354
355 #. type: SH
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 #, no-wrap
359 msgid "ATTRIBUTES"
360 msgstr "ATRYBUTY"
361
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 msgid ""
366 "For an explanation of the terms used in this section, see B<attributes>(7)."
367 msgstr ""
368 "Informacje o pojęciach używanych w tym rozdziale można znaleźć w podręczniku "
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 "Interfejs"
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 "Atrybut"
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 "Wartość"
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<getutent>()"
411 msgstr "B<getutent>()"
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 "Bezpieczeństwo wątkowe"
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 "MT-Unsafe init race:utent\n"
426 "race:utentbuf sig:ALRM timer"
427 msgstr ""
428 "MT-niebezpieczne init race:utent\n"
429 "race:utentbuf sig:ALRM timer"
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 "B<getutid>(),\n"
437 "B<getutline>()"
438 msgstr ""
439 "B<getutid>(),\n"
440 "B<getutline>()"
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 ""
447 "MT-Unsafe init race:utent\n"
448 "sig:ALRM timer"
449 msgstr ""
450 "MT-niebezpieczne init race:utent\n"
451 "sig:ALRM timer"
452
453 #. type: tbl table
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 #, no-wrap
457 msgid "B<pututline>()"
458 msgstr "B<pututline>()"
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 "MT-Unsafe race:utent\n"
466 "sig:ALRM timer"
467 msgstr ""
468 "MT-niebezpieczne race:utent\n"
469 "sig:ALRM timer"
470
471 #. type: tbl table
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 #, no-wrap
475 msgid ""
476 "B<setutent>(),\n"
477 "B<endutent>(),\n"
478 "B<utmpname>()"
479 msgstr ""
480 "B<setutent>(),\n"
481 "B<endutent>(),\n"
482 "B<utmpname>()"
483
484 #. type: tbl table
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 #, no-wrap
488 msgid "MT-Unsafe race:utent"
489 msgstr "MT-niebezpieczne race:utent"
490
491 #. type: Plain text
492 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
493 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
494 msgid ""
495 "In the above table, I<utent> in I<race:utent> signifies that if any of the "
496 "functions B<setutent>(), B<getutent>(), B<getutid>(), B<getutline>(), "
497 "B<pututline>(), B<utmpname>(), or B<endutent>() are used in parallel in "
498 "different threads of a program, then data races could occur."
499 msgstr ""
500 "W powyższej tabeli, I<utent> w I<race:utent> oznacza, że jeśli któraś z "
501 "funkcji B<setutent>(), B<getutent>(), B<getutid>(), B<getutline>(), "
502 "B<pututline>(), B<utmpname>() lub B<endutent>() jest używana równolegle w "
503 "różnych wątkach programu, może nastąpić sytuacja wyścigu danych."
504
505 #. type: SH
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 #, no-wrap
509 msgid "STANDARDS"
510 msgstr "STANDARDY"
511
512 #. type: Plain text
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 msgid "None."
516 msgstr "Brak."
517
518 #. type: SH
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 #, no-wrap
522 msgid "HISTORY"
523 msgstr "HISTORIA"
524
525 #. type: Plain text
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 msgid "XPG2, SVr4."
529 msgstr "XPG2, SVr4."
530
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid ""
535 "In XPG2 and SVID 2 the function B<pututline>() is documented to return "
536 "void, and that is what it does on many systems (AIX, HP-UX). HP-UX "
537 "introduces a new function B<_pututline>() with the prototype given above "
538 "for B<pututline>()."
539 msgstr ""
540 "W dokumentacji XPG2 i SVID2 funkcja B<pututline>() zwraca void, i to jest "
541 "to, co ona rzeczywiście zwraca na wielu systemach (AIX, HPUX). HPUX "
542 "wprowadza nową funkcję B<_pututline>() o prototypie podanym powyżej dla "
543 "B<pututline>()."
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 msgid ""
549 "All these functions are obsolete now on non-Linux systems. POSIX.1-2001 and "
550 "POSIX.1-2008, following SUSv1, does not have any of these functions, but "
551 "instead uses"
552 msgstr ""
553 "Wszystkie te funkcje są przestarzałe na systemach nielinuksowych. "
554 "POSIX.1-2001 i POSIX.1-2008, naśladując SUSv1, nie zawierają żadnej z tych "
555 "funkcji, ale zamiast nich używają"
556
557 #. type: Plain text
558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
560 #, no-wrap
561 msgid "B<#include E<lt>utmpx.hE<gt>>\n"
562 msgstr "B<#include E<lt>utmpx.hE<gt>>\n"
563
564 #. type: Plain text
565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
567 #, no-wrap
568 msgid ""
569 "B<struct utmpx *getutxent(void);>\n"
570 "B<struct utmpx *getutxid(const struct utmpx *);>\n"
571 "B<struct utmpx *getutxline(const struct utmpx *);>\n"
572 "B<struct utmpx *pututxline(const struct utmpx *);>\n"
573 "B<void setutxent(void);>\n"
574 "B<void endutxent(void);>\n"
575 msgstr ""
576 "B<struct utmpx *getutxent(void);>\n"
577 "B<struct utmpx *getutxid(const struct utmpx *);>\n"
578 "B<struct utmpx *getutxline(const struct utmpx *);>\n"
579 "B<struct utmpx *pututxline(const struct utmpx *);>\n"
580 "B<void setutxent(void);>\n"
581 "B<void endutxent(void);>\n"
582
583 #. type: Plain text
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 msgid ""
587 "These functions are provided by glibc, and perform the same task as their "
588 "equivalents without the \"x\", but use I<struct utmpx>, defined on Linux to "
589 "be the same as I<struct utmp>. For completeness, glibc also provides "
590 "B<utmpxname>(), although this function is not specified by POSIX.1."
591 msgstr ""
592 "Powyższe funkcje są dostarczane przez glibc i wykonują dokładnie te same "
593 "zadania, co ich odpowiedniki bez przyrostka \\[Bq]x\\[rq], tyle że używają "
594 "struktury I<struct utmpx>, zdefiniowanej pod Linuksem dokładnie tak samo jak "
595 "I<struct utmp>. glibc dostarcza także B<utmpxname>(), chociaż POSIX.1 nie "
596 "zawiera tej funkcji."
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 "On some other systems, the I<utmpx> structure is a superset of the I<utmp> "
603 "structure, with additional fields, and larger versions of the existing "
604 "fields, and parallel files are maintained, often I</var/*/utmpx> and I</var/"
605 "*/wtmpx>."
606 msgstr ""
607 "Na niektórych systemach struktura I<utmpx> jest rozszerzeniem struktury "
608 "I<utmp> o dodatkowe pola i o większe wersje istniejących pól. Utrzymywane są "
609 "tam równoległe wersje plików, często jako I</var/*/utmpx> oraz I</var/*/"
610 "wtmpx>."
611
612 #. type: Plain text
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 msgid ""
616 "Linux glibc on the other hand does not use a parallel I<utmpx> file since "
617 "its I<utmp> structure is already large enough. The \"x\" functions listed "
618 "above are just aliases for their counterparts without the \"x\" (e.g., "
619 "B<getutxent>() is an alias for B<getutent>())."
620 msgstr ""
621 "Z drugiej strony linuksowe glibc nie używa pliku I<utmpx>, ponieważ jego "
622 "struktura I<utmp> jest już wystarczająco duża. Funkcje \\[Bq]x\\[rq] opisane "
623 "powyżej są aliasami do funkcji bez \\[Bq]x\\[rq] (np. B<getutxent> jest "
624 "aliasem B<getutent>())."
625
626 #. type: SH
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 #, no-wrap
630 msgid "NOTES"
631 msgstr "UWAGI"
632
633 #. type: SS
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
636 #, no-wrap
637 msgid "glibc notes"
638 msgstr "Uwagi dla glibc"
639
640 #. type: Plain text
641 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
642 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
643 msgid "The above functions are not thread-safe. glibc adds reentrant versions"
644 msgstr ""
645 "Powyższe funkcje nie są bezpieczne dla wątków. glibc dodaje wersje "
646 "współbieżne:"
647
648 #. type: Plain text
649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
651 #, no-wrap
652 msgid ""
653 "B<int getutent_r(struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n"
654 "B<int getutid_r(struct utmp *>I<ut>B<,>\n"
655 "B< struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n"
656 "B<int getutline_r(struct utmp *>I<ut>B<,>\n"
657 "B< struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n"
658 msgstr ""
659 "B<int getutent_r(struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n"
660 "B<int getutid_r(struct utmp *>I<ut>B<,>\n"
661 "B< struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n"
662 "B<int getutline_r(struct utmp *>I<ut>B<,>\n"
663 "B< struct utmp *>I<ubuf>B<, struct utmp **>I<ubufp>B<);>\n"
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 msgid ""
669 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
670 msgstr ""
671 "Wymagane ustawienia makr biblioteki glibc (patrz B<feature_test_macros>(7)):"
672
673 #. type: Plain text
674 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
675 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
676 msgid "B<getutent_r>(), B<getutid_r>(), B<getutline_r>():"
677 msgstr "B<getutent_r>(), B<getutid_r>(), B<getutline_r>():"
678
679 #. type: Plain text
680 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
681 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
682 #, no-wrap
683 msgid ""
684 " _GNU_SOURCE\n"
685 " || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n"
686 " || /* glibc E<lt>= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n"
687 msgstr ""
688 " _GNU_SOURCE\n"
689 " || /* Od glibc 2.19: */ _DEFAULT_SOURCE\n"
690 " || /* glibc E<lt>= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n"
691
692 #. type: Plain text
693 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
694 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
695 msgid ""
696 "These functions are GNU extensions, analogs of the functions of the same "
697 "name without the _r suffix. The I<ubuf> argument gives these functions a "
698 "place to store their result. On success, they return 0, and a pointer to "
699 "the result is written in I<*ubufp>. On error, these functions return -1. "
700 "There are no utmpx equivalents of the above functions. (POSIX.1 does not "
701 "specify such functions.)"
702 msgstr ""
703 "Te funkcje są rozszerzeniami GNU, analogicznymi do funkcji o tych samych "
704 "nazwach, ale bez przyrostka \\[Bq]_r\\[rq]. Parametr I<ubuf> określa "
705 "miejsce, w którym te funkcje powinny zapisać wynik. Jeśli zakończą się "
706 "powodzeniem, to zwracają 0, a wskaźnik do wyniku jest zapisywany w "
707 "I<*ubufp>. W razie błędu funkcje zwracają -1. Funkcje te nie mają swoich "
708 "odpowiedników utmpx (POSIX.1 ich nie zawiera)."
709
710 #. type: SH
711 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
712 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
713 #, no-wrap
714 msgid "EXAMPLES"
715 msgstr "PRZYKŁADY"
716
717 #. type: Plain text
718 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
719 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
720 msgid ""
721 "The following example adds and removes a utmp record, assuming it is run "
722 "from within a pseudo terminal. For usage in a real application, you should "
723 "check the return values of B<getpwuid>(3) and B<ttyname>(3)."
724 msgstr ""
725 "Następujący przykład dodaje i usuwa rekord utmp, przy założeniu, że zostanie "
726 "uruchomiony z pseudoterminala. Użycie w rzeczywistej aplikacji wymagałoby "
727 "sprawdzenia wartości zwracanych przez B<getpwuid>(3) i B<ttyname>(3)."
728
729 #. type: Plain text
730 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
731 #: opensuse-leap-16-1 opensuse-tumbleweed
732 #, no-wrap
733 msgid ""
734 "#include E<lt>err.hE<gt>\n"
735 "#include E<lt>pwd.hE<gt>\n"
736 "#include E<lt>stdlib.hE<gt>\n"
737 "#include E<lt>string.hE<gt>\n"
738 "#include E<lt>time.hE<gt>\n"
739 "#include E<lt>unistd.hE<gt>\n"
740 "#include E<lt>utmp.hE<gt>\n"
741 "\\&\n"
742 "int\n"
743 "main(void)\n"
744 "{\n"
745 " struct utmp entry;\n"
746 "\\&\n"
747 " if (system(\"echo before adding entry:;who\") == -1)\n"
748 " err(EXIT_FAILURE, \"system\");\n"
749 "\\&\n"
750 " entry.ut_type = USER_PROCESS;\n"
751 " entry.ut_pid = getpid();\n"
752 " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n"
753 " /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n"
754 " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n"
755 " entry.ut_time = time(NULL);\n"
756 " strcpy(entry.ut_user, getpwuid(getuid())-E<gt>pw_name);\n"
757 " memset(entry.ut_host, 0, UT_HOSTSIZE);\n"
758 " entry.ut_addr = 0;\n"
759 " setutent();\n"
760 " if (pututline(&entry) == NULL)\n"
761 " err(EXIT_FAILURE, \"pututline\");\n"
762 "\\&\n"
763 " if (system(\"echo after adding entry:;who\") == -1)\n"
764 " err(EXIT_FAILURE, \"system\");\n"
765 "\\&\n"
766 " entry.ut_type = DEAD_PROCESS;\n"
767 " memset(entry.ut_line, 0, UT_LINESIZE);\n"
768 " entry.ut_time = 0;\n"
769 " memset(entry.ut_user, 0, UT_NAMESIZE);\n"
770 " setutent();\n"
771 " if (pututline(&entry) == NULL)\n"
772 " err(EXIT_FAILURE, \"pututline\");\n"
773 "\\&\n"
774 " if (system(\"echo after removing entry:;who\") == -1)\n"
775 " err(EXIT_FAILURE, \"system\");\n"
776 "\\&\n"
777 " endutent();\n"
778 " exit(EXIT_SUCCESS);\n"
779 "}\n"
780 msgstr ""
781 "#include E<lt>err.hE<gt>\n"
782 "#include E<lt>pwd.hE<gt>\n"
783 "#include E<lt>stdlib.hE<gt>\n"
784 "#include E<lt>string.hE<gt>\n"
785 "#include E<lt>time.hE<gt>\n"
786 "#include E<lt>unistd.hE<gt>\n"
787 "#include E<lt>utmp.hE<gt>\n"
788 "\\&\n"
789 "int\n"
790 "main(void)\n"
791 "{\n"
792 " struct utmp entry;\n"
793 "\\&\n"
794 " if (system(\"echo przed dodaniem wpisu:;who\") == -1)\n"
795 "\\&\n"
796 " entry.ut_type = USER_PROCESS;\n"
797 " entry.ut_pid = getpid();\n"
798 " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n"
799 " /* poprawne tylko dla pseudoterm. nazwanych /dev/tty[pqr][0-9a-z] */\n"
800 " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n"
801 " entry.ut_time = time(NULL);\n"
802 " strcpy(entry.ut_user, getpwuid(getuid())-E<gt>pw_name);\n"
803 " memset(entry.ut_host, 0, UT_HOSTSIZE);\n"
804 " entry.ut_addr = 0;\n"
805 " setutent();\n"
806 " if (pututline(&entry) == NULL)\n"
807 " err(EXIT_FAILURE, \"pututline\");\n"
808 "\\&\n"
809 " if (system(\"echo po dodaniu wpisu:;who\") == -1)\n"
810 " err(EXIT_FAILURE, \"system\");\n"
811 "\\&\n"
812 " entry.ut_type = DEAD_PROCESS;\n"
813 " memset(entry.ut_line, 0, UT_LINESIZE);\n"
814 " entry.ut_time = 0;\n"
815 " memset(entry.ut_user, 0, UT_NAMESIZE);\n"
816 " setutent();\n"
817 " pututline(&entry);\n"
818 "\\&\n"
819 " if (system(\"echo po usunięciu wpisu:;who\") == -1)\n"
820 " err(EXIT_FAILURE, \"system\");\n"
821 "\\&\n"
822 " endutent();\n"
823 " exit(EXIT_SUCCESS);\n"
824 "}\n"
825
826 #. SRC END
827 #. type: SH
828 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
829 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
830 #, no-wrap
831 msgid "SEE ALSO"
832 msgstr "ZOBACZ TAKŻE"
833
834 #. type: Plain text
835 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
836 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
837 msgid "B<getutmp>(3), B<utmp>(5)"
838 msgstr "B<getutmp>(3), B<utmp>(5)"
839
840 #. type: TH
841 #: debian-trixie
842 #, no-wrap
843 msgid "2024-05-02"
844 msgstr "2 maja 2024 r."
845
846 #. type: TH
847 #: debian-trixie
848 #, no-wrap
849 msgid "Linux man-pages 6.9.1"
850 msgstr "Linux man-pages 6.9.1"
851
852 #. type: Plain text
853 #: debian-trixie
854 msgid "Standard C library (I<libc>, I<-lc>)"
855 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
856
857 #. type: Plain text
858 #: debian-trixie fedora-44 fedora-rawhide
859 #, no-wrap
860 msgid "B<int utmpname(const char *>I<file>B<);>\n"
861 msgstr "B<int utmpname(const char *>I<file>B<);>\n"
862
863 #. type: Plain text
864 #: debian-trixie fedora-44 fedora-rawhide
865 msgid ""
866 "B<utmpname>() sets the name of the utmp-format file for the other utmp "
867 "functions to access. If B<utmpname>() is not used to set the filename "
868 "before the other functions are used, they assume B<_PATH_UTMP>, as defined "
869 "in I<E<lt>paths.hE<gt>>."
870 msgstr ""
871 "B<utmpname>() ustawia nazwę pliku w formacie utmp, który będzie używany "
872 "przez pozostałe funkcje utmp. Jeżeli nie użyto B<utmpname>() przed "
873 "wywołaniem innych funkcji, to używają one domyślnej nazwy B<_PATH_UTMP>, "
874 "zdefiniowanej w I<E<lt>paths.hE<gt>>."
875
876 #. type: Plain text
877 #: debian-trixie fedora-44 fedora-rawhide
878 msgid ""
879 "B<getutent>(), B<getutid>(), and B<getutline>() return a pointer to a "
880 "I<struct utmp> on success, and NULL on failure (which includes the \"record "
881 "not found\" case). This I<struct utmp> is allocated in static storage, and "
882 "may be overwritten by subsequent calls."
883 msgstr ""
884 "Funkcje B<getutent>(), B<getutid>() i B<getutline>() zwracają wskaźnik do "
885 "I<struct utmp>, jeśli zakończą się powodzeniem, lub NULL w razie wystąpienia "
886 "błędu. I<struct utmp> jest zaalokowana w statycznej przestrzeni danych i "
887 "może zostać nadpisana przez kolejne wywołania funkcji."
888
889 #. type: Plain text
890 #: debian-trixie
891 #, no-wrap
892 msgid ""
893 "#include E<lt>pwd.hE<gt>\n"
894 "#include E<lt>stdlib.hE<gt>\n"
895 "#include E<lt>string.hE<gt>\n"
896 "#include E<lt>time.hE<gt>\n"
897 "#include E<lt>unistd.hE<gt>\n"
898 "#include E<lt>utmp.hE<gt>\n"
899 "\\&\n"
900 "int\n"
901 "main(void)\n"
902 "{\n"
903 " struct utmp entry;\n"
904 "\\&\n"
905 " system(\"echo before adding entry:;who\");\n"
906 "\\&\n"
907 " entry.ut_type = USER_PROCESS;\n"
908 " entry.ut_pid = getpid();\n"
909 " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n"
910 " /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n"
911 " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n"
912 " entry.ut_time = time(NULL);\n"
913 " strcpy(entry.ut_user, getpwuid(getuid())-E<gt>pw_name);\n"
914 " memset(entry.ut_host, 0, UT_HOSTSIZE);\n"
915 " entry.ut_addr = 0;\n"
916 " setutent();\n"
917 " pututline(&entry);\n"
918 "\\&\n"
919 " system(\"echo after adding entry:;who\");\n"
920 "\\&\n"
921 " entry.ut_type = DEAD_PROCESS;\n"
922 " memset(entry.ut_line, 0, UT_LINESIZE);\n"
923 " entry.ut_time = 0;\n"
924 " memset(entry.ut_user, 0, UT_NAMESIZE);\n"
925 " setutent();\n"
926 " pututline(&entry);\n"
927 "\\&\n"
928 " system(\"echo after removing entry:;who\");\n"
929 "\\&\n"
930 " endutent();\n"
931 " exit(EXIT_SUCCESS);\n"
932 "}\n"
933 msgstr ""
934 "#include E<lt>pwd.hE<gt>\n"
935 "#include E<lt>stdlib.hE<gt>\n"
936 "#include E<lt>string.hE<gt>\n"
937 "#include E<lt>time.hE<gt>\n"
938 "#include E<lt>unistd.hE<gt>\n"
939 "#include E<lt>utmp.hE<gt>\n"
940 "\\&\n"
941 "int\n"
942 "main(void)\n"
943 "{\n"
944 " struct utmp entry;\n"
945 "\\&\n"
946 " system(\"echo przed dodaniem wpisu:;who\");\n"
947 "\\&\n"
948 " entry.ut_type = USER_PROCESS;\n"
949 " entry.ut_pid = getpid();\n"
950 " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n"
951 " /* poprawne tylko dla pseudoterm. nazwanych /dev/tty[pqr][0-9a-z] */\n"
952 " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n"
953 " entry.ut_time = time(NULL);\n"
954 " strcpy(entry.ut_user, getpwuid(getuid())-E<gt>pw_name);\n"
955 " memset(entry.ut_host, 0, UT_HOSTSIZE);\n"
956 " entry.ut_addr = 0;\n"
957 " setutent();\n"
958 " pututline(&entry);\n"
959 "\\&\n"
960 " system(\"echo po dodaniu wpisu:;who\");\n"
961 "\\&\n"
962 " entry.ut_type = DEAD_PROCESS;\n"
963 " memset(entry.ut_line, 0, UT_LINESIZE);\n"
964 " entry.ut_time = 0;\n"
965 " memset(entry.ut_user, 0, UT_NAMESIZE);\n"
966 " setutent();\n"
967 " pututline(&entry);\n"
968 "\\&\n"
969 " system(\"echo po usunięciu wpisu:;who\");\n"
970 "\\&\n"
971 " endutent();\n"
972 " exit(EXIT_SUCCESS);\n"
973 "}\n"
974
975 #. type: TH
976 #: fedora-44 fedora-rawhide
977 #, no-wrap
978 msgid "2024-07-23"
979 msgstr "23 lipca 2024 r."
980
981 #. type: TH
982 #: fedora-44 fedora-rawhide
983 #, no-wrap
984 msgid "Linux man-pages 6.13"
985 msgstr "Linux man-pages 6.13"
986
987 #. type: TH
988 #: mageia-cauldron
989 #, no-wrap
990 msgid "Linux man-pages 6.17"
991 msgstr "Linux man-pages 6.17"
992
993 #. type: TH
994 #: opensuse-leap-16-1 opensuse-tumbleweed
995 #, no-wrap
996 msgid "Linux man-pages (unreleased)"
997 msgstr "Linux man-pages (niewydane)"