Debian Codegraph @

templates/man3/getspnam.3.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:26+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
21 #: opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "getspnam"
24 msgstr ""
25
26 #. type: TH
27 #: debian-trixie
28 #, no-wrap
29 msgid "2024-05-02"
30 msgstr ""
31
32 #. type: TH
33 #: debian-trixie
34 #, no-wrap
35 msgid "Linux man-pages 6.9.1"
36 msgstr ""
37
38 #. type: SH
39 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
40 #: opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr ""
44
45 #. type: Plain text
46 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
47 #: opensuse-leap-16-1 opensuse-tumbleweed
48 msgid ""
49 "getspnam, getspnam_r, getspent, getspent_r, setspent, endspent, fgetspent, "
50 "fgetspent_r, sgetspent, sgetspent_r, putspent, lckpwdf, ulckpwdf - get "
51 "shadow password file entry"
52 msgstr ""
53
54 #. type: SH
55 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
56 #: opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr ""
60
61 #. type: Plain text
62 #: debian-trixie
63 msgid "Standard C library (I<libc>, I<-lc>)"
64 msgstr ""
65
66 #. type: SH
67 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
68 #: opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr ""
72
73 #. type: Plain text
74 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
75 #: opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid ""
78 "/* General shadow password file API */\n"
79 "B<#include E<lt>shadow.hE<gt>>\n"
80 msgstr ""
81
82 #. type: Plain text
83 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
84 #: opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid ""
87 "B<struct spwd *getspnam(const char *>I<name>B<);>\n"
88 "B<struct spwd *getspent(void);>\n"
89 msgstr ""
90
91 #. type: Plain text
92 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
93 #: opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid ""
96 "B<void setspent(void);>\n"
97 "B<void endspent(void);>\n"
98 msgstr ""
99
100 #. type: Plain text
101 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
102 #: opensuse-leap-16-1 opensuse-tumbleweed
103 #, no-wrap
104 msgid ""
105 "B<struct spwd *fgetspent(FILE *>I<stream>B<);>\n"
106 "B<struct spwd *sgetspent(const char *>I<s>B<);>\n"
107 msgstr ""
108
109 #. type: Plain text
110 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
111 #: opensuse-leap-16-1 opensuse-tumbleweed
112 #, no-wrap
113 msgid "B<int putspent(const struct spwd *>I<p>B<, FILE *>I<stream>B<);>\n"
114 msgstr ""
115
116 #. type: Plain text
117 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
118 #: opensuse-leap-16-1 opensuse-tumbleweed
119 #, no-wrap
120 msgid ""
121 "B<int lckpwdf(void);>\n"
122 "B<int ulckpwdf(void);>\n"
123 msgstr ""
124
125 #. type: Plain text
126 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
127 #: opensuse-leap-16-1 opensuse-tumbleweed
128 #, no-wrap
129 msgid ""
130 "/* GNU extension */\n"
131 "B<#include E<lt>shadow.hE<gt>>\n"
132 msgstr ""
133
134 #. type: Plain text
135 #: debian-trixie
136 #, no-wrap
137 msgid ""
138 "B<int getspent_r(struct spwd *>I<spbuf>B<,>\n"
139 "B< char >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, struct spwd **>I<spbufp>B<);>\n"
140 "B<int getspnam_r(const char *>I<name>B<, struct spwd *>I<spbuf>B<,>\n"
141 "B< char >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, struct spwd **>I<spbufp>B<);>\n"
142 msgstr ""
143
144 #. type: Plain text
145 #: debian-trixie
146 #, no-wrap
147 msgid ""
148 "B<int fgetspent_r(FILE *>I<stream>B<, struct spwd *>I<spbuf>B<,>\n"
149 "B< char >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, struct spwd **>I<spbufp>B<);>\n"
150 "B<int sgetspent_r(const char *>I<s>B<, struct spwd *>I<spbuf>B<,>\n"
151 "B< char >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, struct spwd **>I<spbufp>B<);>\n"
152 msgstr ""
153
154 #. type: Plain text
155 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
156 #: opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
159 msgstr ""
160
161 #. type: Plain text
162 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
163 #: opensuse-leap-16-1 opensuse-tumbleweed
164 msgid "B<getspent_r>(), B<getspnam_r>(), B<fgetspent_r>(), B<sgetspent_r>():"
165 msgstr ""
166
167 #. type: Plain text
168 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
169 #: opensuse-leap-16-1 opensuse-tumbleweed
170 #, no-wrap
171 msgid ""
172 " Since glibc 2.19:\n"
173 " _DEFAULT_SOURCE\n"
174 " glibc 2.19 and earlier:\n"
175 " _BSD_SOURCE || _SVID_SOURCE\n"
176 msgstr ""
177
178 #. type: SH
179 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
180 #: opensuse-leap-16-1 opensuse-tumbleweed
181 #, no-wrap
182 msgid "DESCRIPTION"
183 msgstr ""
184
185 #. type: Plain text
186 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
187 #: opensuse-leap-16-1 opensuse-tumbleweed
188 msgid ""
189 "Long ago it was considered safe to have encrypted passwords openly visible "
190 "in the password file. When computers got faster and people got more "
191 "security-conscious, this was no longer acceptable. Julianne Frances Haugh "
192 "implemented the shadow password suite that keeps the encrypted passwords in "
193 "the shadow password database (e.g., the local shadow password file I</etc/"
194 "shadow>, NIS, and LDAP), readable only by root."
195 msgstr ""
196
197 #
198 #. FIXME . I've commented out the following for the
199 #. moment. The relationship between PAM and nsswitch.conf needs
200 #. to be clearly documented in one place, which is pointed to by
201 #. the pages for the user, group, and shadow password functions.
202 #. (Jul 2005, mtk)
203 #. This shadow password setup has been superseded by PAM
204 #. (pluggable authentication modules), and the file
205 #. .I /etc/nsswitch.conf
206 #. now describes the sources to be used.
207 #. type: Plain text
208 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
209 #: opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "The functions described below resemble those for the traditional password "
212 "database (e.g., see B<getpwnam>(3) and B<getpwent>(3))."
213 msgstr ""
214
215 #. type: Plain text
216 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
217 #: opensuse-leap-16-1 opensuse-tumbleweed
218 msgid ""
219 "The B<getspnam>() function returns a pointer to a structure containing the "
220 "broken-out fields of the record in the shadow password database that matches "
221 "the username I<name>."
222 msgstr ""
223
224 #. some systems require a call of setspent() before the first getspent()
225 #. glibc does not
226 #. type: Plain text
227 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
228 #: opensuse-leap-16-1 opensuse-tumbleweed
229 msgid ""
230 "The B<getspent>() function returns a pointer to the next entry in the "
231 "shadow password database. The position in the input stream is initialized "
232 "by B<setspent>(). When done reading, the program may call B<endspent>() so "
233 "that resources can be deallocated."
234 msgstr ""
235
236 #. type: Plain text
237 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
238 #: opensuse-leap-16-1 opensuse-tumbleweed
239 msgid ""
240 "The B<fgetspent>() function is similar to B<getspent>() but uses the "
241 "supplied stream instead of the one implicitly opened by B<setspent>()."
242 msgstr ""
243
244 #. type: Plain text
245 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
246 #: opensuse-leap-16-1 opensuse-tumbleweed
247 msgid ""
248 "The B<sgetspent>() function parses the supplied string I<s> into a struct "
249 "I<spwd>."
250 msgstr ""
251
252 #. type: Plain text
253 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
254 #: opensuse-leap-16-1 opensuse-tumbleweed
255 msgid ""
256 "The B<putspent>() function writes the contents of the supplied struct "
257 "I<spwd> I<*p> as a text line in the shadow password file format to "
258 "I<stream>. String entries with value NULL and numerical entries with value "
259 "-1 are written as an empty string."
260 msgstr ""
261
262 #. type: Plain text
263 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
264 #: opensuse-leap-16-1 opensuse-tumbleweed
265 msgid ""
266 "The B<lckpwdf>() function is intended to protect against multiple "
267 "simultaneous accesses of the shadow password database. It tries to acquire "
268 "a lock, and returns 0 on success, or -1 on failure (lock not obtained within "
269 "15 seconds). The B<ulckpwdf>() function releases the lock again. Note "
270 "that there is no protection against direct access of the shadow password "
271 "file. Only programs that use B<lckpwdf>() will notice the lock."
272 msgstr ""
273
274 #. Also in libc5
275 #. SUN doesn't have sgetspent()
276 #. type: Plain text
277 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
278 #: opensuse-leap-16-1 opensuse-tumbleweed
279 msgid ""
280 "These were the functions that formed the original shadow API. They are "
281 "widely available."
282 msgstr ""
283
284 #. type: SS
285 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
286 #: opensuse-leap-16-1 opensuse-tumbleweed
287 #, no-wrap
288 msgid "Reentrant versions"
289 msgstr ""
290
291 #. type: Plain text
292 #: debian-trixie
293 msgid ""
294 "Analogous to the reentrant functions for the password database, glibc also "
295 "has reentrant functions for the shadow password database. The "
296 "B<getspnam_r>() function is like B<getspnam>() but stores the retrieved "
297 "shadow password structure in the space pointed to by I<spbuf>. This shadow "
298 "password structure contains pointers to strings, and these strings are "
299 "stored in the buffer I<buf> of size I<buflen>. A pointer to the result (in "
300 "case of success) or NULL (in case no entry was found or an error occurred) "
301 "is stored in I<*spbufp>."
302 msgstr ""
303
304 #. type: Plain text
305 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
306 #: opensuse-leap-16-1 opensuse-tumbleweed
307 msgid ""
308 "The functions B<getspent_r>(), B<fgetspent_r>(), and B<sgetspent_r>() are "
309 "similarly analogous to their nonreentrant counterparts."
310 msgstr ""
311
312 #. SUN doesn't have sgetspent_r()
313 #. type: Plain text
314 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
315 #: opensuse-leap-16-1 opensuse-tumbleweed
316 msgid ""
317 "Some non-glibc systems also have functions with these names, often with "
318 "different prototypes."
319 msgstr ""
320
321 #. type: SS
322 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
323 #: opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "Structure"
326 msgstr ""
327
328 #. type: Plain text
329 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
330 #: opensuse-leap-16-1 opensuse-tumbleweed
331 msgid ""
332 "The shadow password structure is defined in I<E<lt>shadow.hE<gt>> as follows:"
333 msgstr ""
334
335 #. type: Plain text
336 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
337 #: opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid ""
340 "struct spwd {\n"
341 " char *sp_namp; /* Login name */\n"
342 " char *sp_pwdp; /* Encrypted password */\n"
343 " long sp_lstchg; /* Date of last change\n"
344 " (measured in days since\n"
345 " 1970-01-01 00:00:00 +0000 (UTC)) */\n"
346 " long sp_min; /* Min # of days between changes */\n"
347 " long sp_max; /* Max # of days between changes */\n"
348 " long sp_warn; /* # of days before password expires\n"
349 " to warn user to change it */\n"
350 " long sp_inact; /* # of days after password expires\n"
351 " until account is disabled */\n"
352 " long sp_expire; /* Date when account expires\n"
353 " (measured in days since\n"
354 " 1970-01-01 00:00:00 +0000 (UTC)) */\n"
355 " unsigned long sp_flag; /* Reserved */\n"
356 "};\n"
357 msgstr ""
358
359 #. type: SH
360 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
361 #: opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "RETURN VALUE"
364 msgstr ""
365
366 #. type: Plain text
367 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
368 #: opensuse-leap-16-1 opensuse-tumbleweed
369 msgid ""
370 "The functions that return a pointer return NULL if no more entries are "
371 "available or if an error occurs during processing. The functions which have "
372 "I<int> as the return value return 0 for success and -1 for failure, with "
373 "I<errno> set to indicate the error."
374 msgstr ""
375
376 #. type: Plain text
377 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
378 #: opensuse-leap-16-1 opensuse-tumbleweed
379 msgid ""
380 "For the nonreentrant functions, the return value may point to static area, "
381 "and may be overwritten by subsequent calls to these functions."
382 msgstr ""
383
384 #. type: Plain text
385 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
386 #: opensuse-leap-16-1 opensuse-tumbleweed
387 msgid ""
388 "The reentrant functions return zero on success. In case of error, an error "
389 "number is returned."
390 msgstr ""
391
392 #. type: SH
393 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
394 #: opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "ERRORS"
397 msgstr ""
398
399 #. type: TP
400 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
401 #: opensuse-leap-16-1 opensuse-tumbleweed
402 #, no-wrap
403 msgid "B<EACCES>"
404 msgstr ""
405
406 #. type: Plain text
407 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
408 #: opensuse-leap-16-1 opensuse-tumbleweed
409 msgid "The caller does not have permission to access the shadow password file."
410 msgstr ""
411
412 #. type: TP
413 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
414 #: opensuse-leap-16-1 opensuse-tumbleweed
415 #, no-wrap
416 msgid "B<ERANGE>"
417 msgstr ""
418
419 #. type: Plain text
420 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
421 #: opensuse-leap-16-1 opensuse-tumbleweed
422 msgid "Supplied buffer is too small."
423 msgstr ""
424
425 #. type: SH
426 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
427 #: opensuse-leap-16-1 opensuse-tumbleweed
428 #, no-wrap
429 msgid "FILES"
430 msgstr ""
431
432 #. type: TP
433 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
434 #: opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "I</etc/shadow>"
437 msgstr ""
438
439 #. type: Plain text
440 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
441 #: opensuse-leap-16-1 opensuse-tumbleweed
442 msgid "local shadow password database file"
443 msgstr ""
444
445 #. type: TP
446 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
447 #: opensuse-leap-16-1 opensuse-tumbleweed
448 #, no-wrap
449 msgid "I</etc/.pwd.lock>"
450 msgstr ""
451
452 #. type: Plain text
453 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
454 #: opensuse-leap-16-1 opensuse-tumbleweed
455 msgid "lock file"
456 msgstr ""
457
458 #. type: Plain text
459 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
460 #: opensuse-leap-16-1 opensuse-tumbleweed
461 msgid ""
462 "The include file I<E<lt>paths.hE<gt>> defines the constant B<_PATH_SHADOW> "
463 "to the pathname of the shadow password file."
464 msgstr ""
465
466 #. type: SH
467 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
468 #: opensuse-leap-16-1 opensuse-tumbleweed
469 #, no-wrap
470 msgid "ATTRIBUTES"
471 msgstr ""
472
473 #. type: Plain text
474 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
475 #: opensuse-leap-16-1 opensuse-tumbleweed
476 msgid ""
477 "For an explanation of the terms used in this section, see B<attributes>(7)."
478 msgstr ""
479
480 #. type: tbl table
481 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
482 #: opensuse-leap-16-1 opensuse-tumbleweed
483 #, no-wrap
484 msgid "Interface"
485 msgstr ""
486
487 #. type: tbl table
488 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
489 #: opensuse-leap-16-1 opensuse-tumbleweed
490 #, no-wrap
491 msgid "Attribute"
492 msgstr ""
493
494 #. type: tbl table
495 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
496 #: opensuse-leap-16-1 opensuse-tumbleweed
497 #, no-wrap
498 msgid "Value"
499 msgstr ""
500
501 #. type: tbl table
502 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
503 #: opensuse-leap-16-1 opensuse-tumbleweed
504 #, no-wrap
505 msgid ".na\n"
506 msgstr ""
507
508 #. type: tbl table
509 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
510 #: opensuse-leap-16-1 opensuse-tumbleweed
511 #, no-wrap
512 msgid ".nh\n"
513 msgstr ""
514
515 #. type: tbl table
516 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
517 #: opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid "B<getspnam>()"
520 msgstr ""
521
522 #. type: tbl table
523 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
524 #: opensuse-leap-16-1 opensuse-tumbleweed
525 #, no-wrap
526 msgid "Thread safety"
527 msgstr ""
528
529 #. type: tbl table
530 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
531 #: opensuse-leap-16-1 opensuse-tumbleweed
532 #, no-wrap
533 msgid "MT-Unsafe race:getspnam locale"
534 msgstr ""
535
536 #. type: tbl table
537 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
538 #: opensuse-leap-16-1 opensuse-tumbleweed
539 #, no-wrap
540 msgid "B<getspent>()"
541 msgstr ""
542
543 #. type: tbl table
544 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
545 #: opensuse-leap-16-1 opensuse-tumbleweed
546 #, no-wrap
547 msgid ""
548 "MT-Unsafe race:getspent\n"
549 "race:spentbuf locale"
550 msgstr ""
551
552 #. type: tbl table
553 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
554 #: opensuse-leap-16-1 opensuse-tumbleweed
555 #, no-wrap
556 msgid ""
557 "B<setspent>(),\n"
558 "B<endspent>(),\n"
559 "B<getspent_r>()"
560 msgstr ""
561
562 #. type: tbl table
563 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
564 #: opensuse-leap-16-1 opensuse-tumbleweed
565 #, no-wrap
566 msgid "MT-Unsafe race:getspent locale"
567 msgstr ""
568
569 #. type: tbl table
570 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
571 #: opensuse-leap-16-1 opensuse-tumbleweed
572 #, no-wrap
573 msgid "B<fgetspent>()"
574 msgstr ""
575
576 #. type: tbl table
577 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
578 #: opensuse-leap-16-1 opensuse-tumbleweed
579 #, no-wrap
580 msgid "MT-Unsafe race:fgetspent"
581 msgstr ""
582
583 #. type: tbl table
584 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
585 #: opensuse-leap-16-1 opensuse-tumbleweed
586 #, no-wrap
587 msgid "B<sgetspent>()"
588 msgstr ""
589
590 #. type: tbl table
591 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
592 #: opensuse-leap-16-1 opensuse-tumbleweed
593 #, no-wrap
594 msgid "MT-Unsafe race:sgetspent"
595 msgstr ""
596
597 #. type: tbl table
598 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
599 #: opensuse-leap-16-1 opensuse-tumbleweed
600 #, no-wrap
601 msgid ""
602 "B<putspent>(),\n"
603 "B<getspnam_r>(),\n"
604 "B<sgetspent_r>()"
605 msgstr ""
606
607 #. type: tbl table
608 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
609 #: opensuse-leap-16-1 opensuse-tumbleweed
610 #, no-wrap
611 msgid "MT-Safe locale"
612 msgstr ""
613
614 #. type: tbl table
615 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
616 #: opensuse-leap-16-1 opensuse-tumbleweed
617 #, no-wrap
618 msgid ""
619 "B<lckpwdf>(),\n"
620 "B<ulckpwdf>(),\n"
621 "B<fgetspent_r>()"
622 msgstr ""
623
624 #. type: tbl table
625 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
626 #: opensuse-leap-16-1 opensuse-tumbleweed
627 #, no-wrap
628 msgid "MT-Safe"
629 msgstr ""
630
631 #. type: Plain text
632 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
633 #: opensuse-leap-16-1 opensuse-tumbleweed
634 msgid ""
635 "In the above table, I<getspent> in I<race:getspent> signifies that if any of "
636 "the functions B<setspent>(), B<getspent>(), B<getspent_r>(), or "
637 "B<endspent>() are used in parallel in different threads of a program, then "
638 "data races could occur."
639 msgstr ""
640
641 #. type: SH
642 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
643 #: opensuse-leap-16-1 opensuse-tumbleweed
644 #, no-wrap
645 msgid "VERSIONS"
646 msgstr ""
647
648 #. type: Plain text
649 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
650 #: opensuse-leap-16-1 opensuse-tumbleweed
651 msgid "Many other systems provide a similar API."
652 msgstr ""
653
654 #. type: SH
655 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
656 #: opensuse-leap-16-1 opensuse-tumbleweed
657 #, no-wrap
658 msgid "STANDARDS"
659 msgstr ""
660
661 #. type: Plain text
662 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
663 #: opensuse-leap-16-1 opensuse-tumbleweed
664 msgid "None."
665 msgstr ""
666
667 #. type: SH
668 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
669 #: opensuse-leap-16-1 opensuse-tumbleweed
670 #, no-wrap
671 msgid "SEE ALSO"
672 msgstr ""
673
674 #. type: Plain text
675 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
676 #: opensuse-leap-16-1 opensuse-tumbleweed
677 msgid "B<getgrnam>(3), B<getpwnam>(3), B<getpwnam_r>(3), B<shadow>(5)"
678 msgstr ""
679
680 #. type: TH
681 #: debian-unstable mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
682 #, no-wrap
683 msgid "2026-02-08"
684 msgstr ""
685
686 #. type: TH
687 #: debian-unstable
688 #, no-wrap
689 msgid "Linux man-pages 6.18"
690 msgstr ""
691
692 #. type: Plain text
693 #: debian-unstable fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
694 #: opensuse-tumbleweed
695 msgid "Standard C library (I<libc>,\\ I<-lc>)"
696 msgstr ""
697
698 #. type: Plain text
699 #: debian-unstable mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
700 #, no-wrap
701 msgid ""
702 "B<int getspent_r(>size_t size;\n"
703 "B< struct spwd *>I<spbuf>B<,>\n"
704 "B< char >I<buf>B<[>I<size>B<], size_t >I<size>B<,>\n"
705 "B< struct spwd **>I<spbufp>B<);>\n"
706 "B<int getspnam_r(>size_t size;\n"
707 "B< const char *>I<name>B<, struct spwd *>I<spbuf>B<,>\n"
708 "B< char >I<buf>B<[>I<size>B<], size_t >I<size>B<,>\n"
709 "B< struct spwd **>I<spbufp>B<);>\n"
710 msgstr ""
711
712 #. type: Plain text
713 #: debian-unstable mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 #, no-wrap
715 msgid ""
716 "B<int fgetspent_r(>size_t size;\n"
717 "B< FILE *>I<stream>B<, struct spwd *>I<spbuf>B<,>\n"
718 "B< char >I<buf>B<[>I<size>B<], size_t >I<size>B<,>\n"
719 "B< struct spwd **>I<spbufp>B<);>\n"
720 "B<int sgetspent_r(>size_t size;\n"
721 "B< const char *>I<s>B<, struct spwd *>I<spbuf>B<,>\n"
722 "B< char >I<buf>B<[>I<size>B<], size_t >I<size>B<,>\n"
723 "B< struct spwd **>I<spbufp>B<);>\n"
724 msgstr ""
725
726 #. type: Plain text
727 #: debian-unstable fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
728 #: opensuse-tumbleweed
729 msgid ""
730 "Analogous to the reentrant functions for the password database, glibc also "
731 "has reentrant functions for the shadow password database. The "
732 "B<getspnam_r>() function is like B<getspnam>() but stores the retrieved "
733 "shadow password structure in the space pointed to by I<spbuf>. This shadow "
734 "password structure contains pointers to strings, and these strings are "
735 "stored in the buffer I<buf> of size I<size>. A pointer to the result (in "
736 "case of success) or NULL (in case no entry was found or an error occurred) "
737 "is stored in I<*spbufp>."
738 msgstr ""
739
740 #. type: TH
741 #: fedora-44 fedora-rawhide
742 #, no-wrap
743 msgid "2024-12-24"
744 msgstr ""
745
746 #. type: TH
747 #: fedora-44 fedora-rawhide
748 #, no-wrap
749 msgid "Linux man-pages 6.13"
750 msgstr ""
751
752 #. type: Plain text
753 #: fedora-44 fedora-rawhide
754 #, no-wrap
755 msgid ""
756 "B<int getspent_r(struct spwd *>I<spbuf>B<,>\n"
757 "B< char >I<buf>B<[.>I<size>B<], size_t >I<size>B<, struct spwd **>I<spbufp>B<);>\n"
758 "B<int getspnam_r(const char *>I<name>B<, struct spwd *>I<spbuf>B<,>\n"
759 "B< char >I<buf>B<[.>I<size>B<], size_t >I<size>B<, struct spwd **>I<spbufp>B<);>\n"
760 msgstr ""
761
762 #. type: Plain text
763 #: fedora-44 fedora-rawhide
764 #, no-wrap
765 msgid ""
766 "B<int fgetspent_r(FILE *>I<stream>B<, struct spwd *>I<spbuf>B<,>\n"
767 "B< char >I<buf>B<[.>I<size>B<], size_t >I<size>B<, struct spwd **>I<spbufp>B<);>\n"
768 "B<int sgetspent_r(const char *>I<s>B<, struct spwd *>I<spbuf>B<,>\n"
769 "B< char >I<buf>B<[.>I<size>B<], size_t >I<size>B<, struct spwd **>I<spbufp>B<);>\n"
770 msgstr ""
771
772 #. type: TH
773 #: mageia-cauldron
774 #, no-wrap
775 msgid "Linux man-pages 6.17"
776 msgstr ""
777
778 #. type: TH
779 #: opensuse-leap-16-1 opensuse-tumbleweed
780 #, no-wrap
781 msgid "Linux man-pages (unreleased)"
782 msgstr ""