Debian Codegraph @

po/ko/man3/getpwnam.3.po

raw
1 # Korean 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]>, 2001.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
9 "PO-Revision-Date: 2001-04-30 08:57+0900\n"
10 "Last-Translator: 정강훈 <[email protected]>\n"
11 "Language-Team: Korean <[email protected]>\n"
12 "Language: ko\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=1; plural=0;\n"
17
18 #. type: TH
19 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
20 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
21 #, no-wrap
22 msgid "getpwnam"
23 msgstr "getpwnam"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-08"
30 msgstr "2026년 2월 8일"
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr "Linux man-pages 6.18"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "이름"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "getpwnam, getpwnam_r, getpwuid, getpwuid_r - get password file entry"
49 msgstr ""
50 "getpwnam, getpwnam_r, getpwuid, getpwuid_r - 패스워드 파일 엔트리를 가져온다"
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr "라이브러리"
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr "표준 C 라이브러리 (I<libc>,\\ I<-lc>)"
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr "요약"
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid ""
77 "B<#include E<lt>sys/types.hE<gt>>\n"
78 "B<#include E<lt>pwd.hE<gt>>\n"
79 msgstr ""
80 "B<#include E<lt>sys/types.hE<gt>>\n"
81 "B<#include E<lt>pwd.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid ""
88 "B<struct passwd *getpwnam(const char *>I<name>B<);>\n"
89 "B<struct passwd *getpwuid(uid_t >I<uid>B<);>\n"
90 msgstr ""
91 "B<struct passwd *getpwnam(const char *>I<name>B<);>\n"
92 "B<struct passwd *getpwuid(uid_t >I<uid>B<);>\n"
93
94 #. type: Plain text
95 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
96 #: opensuse-tumbleweed
97 #, fuzzy, no-wrap
98 #| msgid ""
99 #| "B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n"
100 #| "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
101 #| "B< struct passwd **restrict >I<result>B<);>\n"
102 #| "B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n"
103 #| "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
104 #| "B< struct passwd **restrict >I<result>B<);>\n"
105 msgid ""
106 "B<int getpwnam_r(>size_t size;\n"
107 "B< const char *restrict >I<name>B<,>\n"
108 "B< struct passwd *restrict >I<pwd>B<,>\n"
109 "B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
110 "B< struct passwd **restrict >I<result>B<);>\n"
111 "B<int getpwuid_r(>size_t size;\n"
112 "B< uid_t >I<uid>B<,>\n"
113 "B< struct passwd *restrict >I<pwd>B<,>\n"
114 "B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
115 "B< struct passwd **restrict >I<result>B<);>\n"
116 msgstr ""
117 "B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n"
118 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
119 "B< struct passwd **restrict >I<result>B<);>\n"
120 "B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n"
121 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
122 "B< struct passwd **restrict >I<result>B<);>\n"
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid ""
128 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
129 msgstr "c"
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 msgid "B<getpwnam_r>(), B<getpwuid_r>():"
135 msgstr "B<getpwnam_r>(), B<getpwuid_r>():"
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 #, no-wrap
141 msgid ""
142 " _POSIX_C_SOURCE\n"
143 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
144 msgstr ""
145 " _POSIX_C_SOURCE\n"
146 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
147
148 #. type: SH
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 #, no-wrap
152 msgid "DESCRIPTION"
153 msgstr "설명"
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 #, fuzzy
159 #| msgid ""
160 #| "The B<getpwnam()> function returns a pointer to a structure containing "
161 #| "the broken out fields of a line from I</etc/passwd> for the entry that "
162 #| "matches the user name I<name>."
163 msgid ""
164 "The B<getpwnam>() function returns a pointer to a structure containing the "
165 "broken-out fields of the record in the password database (e.g., the local "
166 "password file I</etc/passwd>, NIS, and LDAP) that matches the username "
167 "I<name>."
168 msgstr ""
169 "B<getpwnam()> 함수는 사용자 이름 I<name>과 일치하는 엔트리를 위해 I</etc/"
170 "passwd> 에서 뽑아낸 라인 필드들을 포함하는 구조체에 대한 포인터를 반환한다."
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 #, fuzzy
176 #| msgid ""
177 #| "The B<getpwuid()> function returns a pointer to a structure containing "
178 #| "the broken out fields of a line from I</etc/passwd> for the entry that "
179 #| "matches the user uid I<uid>."
180 msgid ""
181 "The B<getpwuid>() function returns a pointer to a structure containing the "
182 "broken-out fields of the record in the password database that matches the "
183 "user ID I<uid>."
184 msgstr ""
185 "B<getpwuid()> 함수는 사용자 I<uid>와 일치하는 엔트리를 위해 I</etc/passwd> 에"
186 "서 뽑아낸 라인 필드들을 포함하는 구조체에 대한 포인터를 반환한다."
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid "The I<passwd> structure is defined in I<E<lt>pwd.hE<gt>> as follows:"
192 msgstr "I<passwd> 구조체는 다음처럼 I<E<lt>pwd.hE<gt>>에 정의되어 있다:"
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 #, fuzzy, no-wrap
198 #| msgid ""
199 #| "struct passwd {\n"
200 #| " char *pw_name;\t\t/* user name */\n"
201 #| " char *pw_passwd;\t\t/* user password */\n"
202 #| " uid_t pw_uid;\t\t\t/* user id */\n"
203 #| " gid_t pw_gid;\t\t\t/* group id */\n"
204 #| " char *pw_gecos; \t/* real name */\n"
205 #| " char *pw_dir; \t\t/* home directory */\n"
206 #| " char *pw_shell; \t/* shell program */\n"
207 #| "};\n"
208 msgid ""
209 "struct passwd {\n"
210 " char *pw_name; /* username */\n"
211 " char *pw_passwd; /* user password */\n"
212 " uid_t pw_uid; /* user ID */\n"
213 " gid_t pw_gid; /* group ID */\n"
214 " char *pw_gecos; /* user information */\n"
215 " char *pw_dir; /* home directory */\n"
216 " char *pw_shell; /* shell program */\n"
217 "};\n"
218 msgstr ""
219 "struct passwd {\n"
220 " char *pw_name;\t\t/* 유저 이름 */\n"
221 " char *pw_passwd;\t\t/* 유저 패스워드 */\n"
222 " uid_t pw_uid;\t\t\t/* 유저 id */\n"
223 " gid_t pw_gid;\t\t\t/* 그룹 id */\n"
224 " char *pw_gecos; \t/* 실제 이름 */\n"
225 " char *pw_dir; \t\t/* 홈 디렉토리 */\n"
226 " char *pw_shell; \t/* shell 프로그램 */\n"
227 "};\n"
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 msgid "See B<passwd>(5) for more information about these fields."
233 msgstr ""
234
235 #. type: Plain text
236 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
237 #: opensuse-leap-16-1 opensuse-tumbleweed
238 msgid ""
239 "The B<getpwnam_r>() and B<getpwuid_r>() functions obtain the same "
240 "information as B<getpwnam>() and B<getpwuid>(), but store the retrieved "
241 "I<passwd> structure in the space pointed to by I<pwd>. The string fields "
242 "pointed to by the members of the I<passwd> structure are stored in the "
243 "buffer I<buf> of size I<size>. A pointer to the result (in case of success) "
244 "or NULL (in case no entry was found or an error occurred) is stored in "
245 "I<*result>."
246 msgstr ""
247
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 msgid "The call"
252 msgstr ""
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid "sysconf(_SC_GETPW_R_SIZE_MAX)\n"
259 msgstr "sysconf(_SC_GETPW_R_SIZE_MAX)\n"
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 msgid ""
265 "returns either -1, without changing I<errno>, or an initial suggested size "
266 "for I<buf>. (If this size is too small, the call fails with B<ERANGE>, in "
267 "which case the caller can retry with a larger buffer.)"
268 msgstr ""
269
270 #. type: SH
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "RETURN VALUE"
275 msgstr "반환값"
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, fuzzy
281 #| msgid ""
282 #| "The B<getpwnam()> and B<getpwuid()> functions return the passwd "
283 #| "structure, or NULL if the matching entry is not found or an error occurs."
284 msgid ""
285 "The B<getpwnam>() and B<getpwuid>() functions return a pointer to a "
286 "I<passwd> structure, or NULL if the matching entry is not found or an error "
287 "occurs. If an error occurs, I<errno> is set to indicate the error. If one "
288 "wants to check I<errno> after the call, it should be set to zero before the "
289 "call."
290 msgstr ""
291 "B<getpwnam()> 와 B<getpwuid()> 함수는 패스워드 구조체에 대한 포인터를 반환하"
292 "거나 일치하는 엔트리가 발견되지 않거나 에러가 발생한다면 NULL을 반환한다."
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 msgid ""
298 "The return value may point to a static area, and may be overwritten by "
299 "subsequent calls to B<getpwent>(3), B<getpwnam>(), or B<getpwuid>(). (Do "
300 "not pass the returned pointer to B<free>(3).)"
301 msgstr ""
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid ""
307 "On success, B<getpwnam_r>() and B<getpwuid_r>() return zero, and set "
308 "I<*result> to I<pwd>. If no matching password record was found, these "
309 "functions return 0 and store NULL in I<*result>. In case of error, an error "
310 "number is returned, and NULL is stored in I<*result>."
311 msgstr ""
312
313 #. type: SH
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 #, no-wrap
317 msgid "ERRORS"
318 msgstr "에러"
319
320 #. type: TP
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid "B<0> or B<ENOENT> or B<ESRCH> or B<EBADF> or B<EPERM> or ..."
325 msgstr ""
326
327 #. type: Plain text
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 msgid "The given I<name> or I<uid> was not found."
331 msgstr ""
332
333 #. type: TP
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, no-wrap
337 msgid "B<EINTR>"
338 msgstr "B<EINTR>"
339
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 msgid "A signal was caught; see B<signal>(7)."
344 msgstr ""
345
346 #. type: TP
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "B<EIO>"
351 msgstr "B<EIO>"
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 #, fuzzy
357 #| msgid "No errors"
358 msgid "I/O error."
359 msgstr "오류 없음."
360
361 #. type: TP
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 #, no-wrap
365 msgid "B<EMFILE>"
366 msgstr "B<EMFILE>"
367
368 #. type: Plain text
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 msgid ""
372 "The per-process limit on the number of open file descriptors has been "
373 "reached."
374 msgstr ""
375
376 #. type: TP
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 #, no-wrap
380 msgid "B<ENFILE>"
381 msgstr "B<ENFILE>"
382
383 #. type: Plain text
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 msgid ""
387 "The system-wide limit on the total number of open files has been reached."
388 msgstr ""
389
390 #. type: TP
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 #, no-wrap
394 msgid "B<ENOMEM>"
395 msgstr "B<ENOMEM>"
396
397 #. #-#-#-#-# archlinux: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-#
398 #. not in POSIX
399 #. This structure is static, allocated 0 or 1 times. No memory leak. (libc45)
400 #. type: Plain text
401 #. #-#-#-#-# debian-trixie: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-#
402 #. not in POSIX
403 #. This structure is static, allocated 0 or 1 times. No memory leak. (libc45)
404 #. type: Plain text
405 #. #-#-#-#-# debian-unstable: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-#
406 #. not in POSIX
407 #. This structure is static, allocated 0 or 1 times. No memory leak. (libc45)
408 #. type: Plain text
409 #. #-#-#-#-# fedora-44: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-#
410 #. not in POSIX
411 #. This structure is static, allocated 0 or 1 times. No memory leak. (libc45)
412 #. type: Plain text
413 #. #-#-#-#-# fedora-rawhide: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-#
414 #. not in POSIX
415 #. This structure is static, allocated 0 or 1 times. No memory leak. (libc45)
416 #. type: Plain text
417 #. #-#-#-#-# mageia-cauldron: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-#
418 #. not in POSIX
419 #. This structure is static, allocated 0 or 1 times. No memory leak. (libc45)
420 #. type: Plain text
421 #. #-#-#-#-# opensuse-leap-16-1: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-#
422 #. not in POSIX
423 #. This structure is static, allocated 0 or 1 times. No memory leak. (libc45)
424 #. type: Plain text
425 #. #-#-#-#-# opensuse-tumbleweed: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-#
426 #. not in POSIX
427 #. This structure is static, allocated 0 or 1 times. No memory leak. (libc45)
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 #, fuzzy
432 #| msgid "Insufficient memory to allocate passwd structure."
433 msgid "Insufficient memory to allocate I<passwd> structure."
434 msgstr "패스워드 구조체를 할당할 메모리가 충분하지 않다."
435
436 #. type: TP
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 #, no-wrap
440 msgid "B<ERANGE>"
441 msgstr "B<ERANGE>"
442
443 #. type: Plain text
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 msgid "Insufficient buffer space supplied."
447 msgstr ""
448
449 #. type: SH
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 #, no-wrap
453 msgid "FILES"
454 msgstr "파일"
455
456 #. type: TP
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 #, no-wrap
460 msgid "I</etc/passwd>"
461 msgstr "I</etc/passwd>"
462
463 #. type: Plain text
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 #, fuzzy
467 #| msgid "password database file"
468 msgid "local password database file"
469 msgstr "패스워드 데이터베이스 파일"
470
471 #. type: SH
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 #, no-wrap
475 msgid "ATTRIBUTES"
476 msgstr "속성"
477
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 msgid ""
482 "For an explanation of the terms used in this section, see B<attributes>(7)."
483 msgstr ""
484 "이 섹션에서 사용되는 용어에 대한 설명은 B<attributes>(7)을 참조하십시오."
485
486 #. type: tbl table
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 #, no-wrap
490 msgid "Interface"
491 msgstr "상호 작용"
492
493 #. type: tbl table
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 #, no-wrap
497 msgid "Attribute"
498 msgstr "속성"
499
500 #. type: tbl table
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 #, no-wrap
504 msgid "Value"
505 msgstr "번호"
506
507 #. type: tbl table
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, no-wrap
511 msgid ".na\n"
512 msgstr ".na\n"
513
514 #. type: tbl table
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 #, no-wrap
518 msgid ".nh\n"
519 msgstr ".nh\n"
520
521 #. type: tbl table
522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
524 #, no-wrap
525 msgid "B<getpwnam>()"
526 msgstr "B<getpwnam>()"
527
528 #. type: tbl table
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 #, no-wrap
532 msgid "Thread safety"
533 msgstr ""
534
535 #. type: tbl table
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 #, no-wrap
539 msgid "MT-Unsafe race:pwnam locale"
540 msgstr ""
541
542 #. type: tbl table
543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
545 #, no-wrap
546 msgid "B<getpwuid>()"
547 msgstr "B<getpwuid>()"
548
549 #. type: tbl table
550 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
551 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
552 #, no-wrap
553 msgid "MT-Unsafe race:pwuid locale"
554 msgstr ""
555
556 #. type: tbl table
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 #, no-wrap
560 msgid ""
561 "B<getpwnam_r>(),\n"
562 "B<getpwuid_r>()"
563 msgstr ""
564 "B<getpwnam_r>(),\n"
565 "B<getpwuid_r>()"
566
567 #. type: tbl table
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 #, no-wrap
571 msgid "MT-Safe locale"
572 msgstr ""
573
574 #. type: SH
575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
576 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
577 #, no-wrap
578 msgid "VERSIONS"
579 msgstr "버전S"
580
581 #. type: Plain text
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 msgid ""
585 "The I<pw_gecos> field is not specified in POSIX, but is present on most "
586 "implementations."
587 msgstr ""
588
589 #. type: SH
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 #, no-wrap
593 msgid "STANDARDS"
594 msgstr "표준"
595
596 #. type: Plain text
597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
599 msgid "POSIX.1-2008."
600 msgstr "POSIX.1-2008."
601
602 #. type: SH
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 #, no-wrap
606 msgid "HISTORY"
607 msgstr "이력"
608
609 #. type: Plain text
610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
611 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
612 msgid "POSIX.1-2001, SVr4, 4.3BSD."
613 msgstr "POSIX.1-2001, SVr4, 4.3BSD."
614
615 #. type: SH
616 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
617 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
618 #, no-wrap
619 msgid "NOTES"
620 msgstr "주의"
621
622 #. more precisely:
623 #. AIX 5.1 - gives ESRCH
624 #. OSF1 4.0g - gives EWOULDBLOCK
625 #. libc, glibc up to glibc 2.6, Irix 6.5 - give ENOENT
626 #. since glibc 2.7 - give 0
627 #. FreeBSD 4.8, OpenBSD 3.2, NetBSD 1.6 - give EPERM
628 #. SunOS 5.8 - gives EBADF
629 #. Tru64 5.1b, HP-UX-11i, SunOS 5.7 - give 0
630 #. type: Plain text
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 msgid ""
634 "The formulation given above under \"RETURN VALUE\" is from POSIX.1-2001. It "
635 "does not call \"not found\" an error, and hence does not specify what value "
636 "I<errno> might have in this situation. But that makes it impossible to "
637 "recognize errors. One might argue that according to POSIX I<errno> should "
638 "be left unchanged if an entry is not found. Experiments on various UNIX-"
639 "like systems show that lots of different values occur in this situation: 0, "
640 "ENOENT, EBADF, ESRCH, EWOULDBLOCK, EPERM, and probably others."
641 msgstr ""
642
643 #. type: Plain text
644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
646 msgid ""
647 "The I<pw_dir> field contains the name of the initial working directory of "
648 "the user. Login programs use the value of this field to initialize the "
649 "B<HOME> environment variable for the login shell. An application that wants "
650 "to determine its user's home directory should inspect the value of B<HOME> "
651 "(rather than the value I<getpwuid(getuid())-E<gt>pw_dir>) since this allows "
652 "the user to modify their notion of \"the home directory\" during a login "
653 "session. To determine the (initial) home directory of another user, it is "
654 "necessary to use I<getpwnam(\"username\")-E<gt>pw_dir> or similar."
655 msgstr ""
656
657 #. type: SH
658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
660 #, no-wrap
661 msgid "EXAMPLES"
662 msgstr "폐제"
663
664 #. type: Plain text
665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
667 msgid ""
668 "The program below demonstrates the use of B<getpwnam_r>() to find the full "
669 "username and user ID for the username supplied as a command-line argument."
670 msgstr ""
671
672 #. type: Plain text
673 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
674 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
675 #, no-wrap
676 msgid ""
677 "#include E<lt>errno.hE<gt>\n"
678 "#include E<lt>pwd.hE<gt>\n"
679 "#include E<lt>stdint.hE<gt>\n"
680 "#include E<lt>stdio.hE<gt>\n"
681 "#include E<lt>stdlib.hE<gt>\n"
682 "#include E<lt>unistd.hE<gt>\n"
683 "\\&\n"
684 "int\n"
685 "main(int argc, char *argv[])\n"
686 "{\n"
687 " struct passwd pwd;\n"
688 " struct passwd *result;\n"
689 " char *buf;\n"
690 " long bufsize;\n"
691 " int s;\n"
692 "\\&\n"
693 " if (argc != 2) {\n"
694 " fprintf(stderr, \"Usage: %s username\\[rs]n\", argv[0]);\n"
695 " exit(EXIT_FAILURE);\n"
696 " }\n"
697 "\\&\n"
698 " bufsize = sysconf(_SC_GETPW_R_SIZE_MAX);\n"
699 " if (bufsize == -1) /* Value was indeterminate */\n"
700 " bufsize = 16384; /* Should be more than enough */\n"
701 "\\&\n"
702 " buf = malloc(bufsize);\n"
703 " if (buf == NULL) {\n"
704 " perror(\"malloc\");\n"
705 " exit(EXIT_FAILURE);\n"
706 " }\n"
707 "\\&\n"
708 " s = getpwnam_r(argv[1], &pwd, buf, bufsize, &result);\n"
709 " if (result == NULL) {\n"
710 " if (s == 0)\n"
711 " printf(\"Not found\\[rs]n\");\n"
712 " else {\n"
713 " errno = s;\n"
714 " perror(\"getpwnam_r\");\n"
715 " }\n"
716 " exit(EXIT_FAILURE);\n"
717 " }\n"
718 "\\&\n"
719 " printf(\"Name: %s; UID: %jd\\[rs]n\", pwd.pw_gecos,\n"
720 " (intmax_t) pwd.pw_uid);\n"
721 " exit(EXIT_SUCCESS);\n"
722 "}\n"
723 msgstr ""
724
725 #. SRC END
726 #. type: SH
727 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
728 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
729 #, no-wrap
730 msgid "SEE ALSO"
731 msgstr "추가 참조"
732
733 #. type: Plain text
734 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
735 #: opensuse-tumbleweed
736 msgid ""
737 "B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), "
738 "B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), B<passwd>(5)"
739 msgstr ""
740 "B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), "
741 "B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), B<passwd>(5)"
742
743 #. type: TH
744 #: debian-trixie
745 #, no-wrap
746 msgid "2024-06-15"
747 msgstr "2024년 6월 15일"
748
749 #. type: TH
750 #: debian-trixie
751 #, no-wrap
752 msgid "Linux man-pages 6.9.1"
753 msgstr "Linux man-pages 6.9.1"
754
755 #. type: Plain text
756 #: debian-trixie
757 msgid "Standard C library (I<libc>, I<-lc>)"
758 msgstr "표준 C 라이브러리 (I<libc>, I<-lc>)"
759
760 #. type: Plain text
761 #: debian-trixie
762 #, no-wrap
763 msgid ""
764 "B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n"
765 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
766 "B< struct passwd **restrict >I<result>B<);>\n"
767 "B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n"
768 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
769 "B< struct passwd **restrict >I<result>B<);>\n"
770 msgstr ""
771 "B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n"
772 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
773 "B< struct passwd **restrict >I<result>B<);>\n"
774 "B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n"
775 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
776 "B< struct passwd **restrict >I<result>B<);>\n"
777
778 #. type: Plain text
779 #: debian-trixie
780 msgid ""
781 "The B<getpwnam_r>() and B<getpwuid_r>() functions obtain the same "
782 "information as B<getpwnam>() and B<getpwuid>(), but store the retrieved "
783 "I<passwd> structure in the space pointed to by I<pwd>. The string fields "
784 "pointed to by the members of the I<passwd> structure are stored in the "
785 "buffer I<buf> of size I<buflen>. A pointer to the result (in case of "
786 "success) or NULL (in case no entry was found or an error occurred) is stored "
787 "in I<*result>."
788 msgstr ""
789
790 #. type: SH
791 #: debian-trixie debian-unstable
792 #, no-wrap
793 msgid "NOTE"
794 msgstr "주의"
795
796 #. type: Plain text
797 #: debian-trixie debian-unstable
798 msgid ""
799 "The user password database mostly refers to I</etc/passwd>. However, with "
800 "recent systems it also refers to network wide databases using NIS, LDAP and "
801 "other local files as configured in I</etc/nsswitch.conf>."
802 msgstr ""
803
804 #. type: TP
805 #: debian-trixie debian-unstable
806 #, no-wrap
807 msgid "I</etc/nsswitch.conf>"
808 msgstr "I</etc/nsswitch.conf>"
809
810 #. type: Plain text
811 #: debian-trixie debian-unstable
812 msgid "System Databases and Name Service Switch configuration file"
813 msgstr ""
814
815 #. type: Plain text
816 #: debian-trixie debian-unstable
817 msgid ""
818 "B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), "
819 "B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), "
820 "B<nsswitch.conf>(5), B<passwd>(5)"
821 msgstr ""
822 "B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), "
823 "B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), "
824 "B<nsswitch.conf>(5), B<passwd>(5)"
825
826 #. type: TH
827 #: fedora-44 fedora-rawhide
828 #, no-wrap
829 msgid "2024-12-24"
830 msgstr "2024년 12월 24일"
831
832 #. type: TH
833 #: fedora-44 fedora-rawhide
834 #, no-wrap
835 msgid "Linux man-pages 6.13"
836 msgstr "Linux man-pages 6.13"
837
838 #. type: Plain text
839 #: fedora-44 fedora-rawhide
840 #, fuzzy, no-wrap
841 #| msgid ""
842 #| "B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n"
843 #| "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
844 #| "B< struct passwd **restrict >I<result>B<);>\n"
845 #| "B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n"
846 #| "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
847 #| "B< struct passwd **restrict >I<result>B<);>\n"
848 msgid ""
849 "B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n"
850 "B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
851 "B< struct passwd **restrict >I<result>B<);>\n"
852 "B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n"
853 "B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
854 "B< struct passwd **restrict >I<result>B<);>\n"
855 msgstr ""
856 "B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n"
857 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
858 "B< struct passwd **restrict >I<result>B<);>\n"
859 "B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n"
860 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
861 "B< struct passwd **restrict >I<result>B<);>\n"
862
863 #. type: TH
864 #: mageia-cauldron
865 #, no-wrap
866 msgid "Linux man-pages 6.17"
867 msgstr "Linux man-pages 6.17"
868
869 #. type: TH
870 #: opensuse-leap-16-1 opensuse-tumbleweed
871 #, no-wrap
872 msgid "Linux man-pages (unreleased)"
873 msgstr "Linux man-pages (미공개)"