.\" -*- coding: UTF-8 -*- '\" t .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk) .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" References consulted: .\" Linux libc source code .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991) .\" 386BSD man pages .\" Modified Sat Jul 24 18:43:46 1993 by Rik Faith (faith@cs.unc.edu) .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH putpwent 3 "2023년 7월 20일" "Linux man\-pages 6.05.01" .SH 이름 putpwent \- 패스워드 파일 엔트리를 쓴다. .SH 라이브러리 표준 C 라이브러리 (\fIlibc\fP, \fI\-lc\fP) .SH 요약 .nf \fB#include \fP \fB#include \fP \fB#include \fP .PP \fBint putpwent(const struct passwd *restrict \fP\fIp\fP\fB, FILE *restrict \fP\fIstream\fP\fB);\fP .fi .PP .RS -4 Feature Test Macro Requirements for glibc (see \fBfeature_test_macros\fP(7)): .RE .PP \fBputpwent\fP(): .nf glibc 2.19부터: _DEFAULT_SOURCE glibc 2.19 이하: _SVID_SOURCE .fi .SH 설명 \fBputpwent\fP() 함수는 \fIstream\fP과 관련된 파일에 구조체 \fIp\fP 인 패스워드 엔트리를 쓴다. .PP \fIpasswd\fP 구조체는 다음처럼 \fI\fP에 정의되어 있다: .PP .in +4n .EX struct passwd { char *pw_name; /* 유저 이름 */ char *pw_passwd; /* 유저 패스워드 */ uid_t pw_uid; /* 유저 id */ gid_t pw_gid; /* 그룹 id */ char *pw_gecos; /* 실제 이름 */ char *pw_dir; /* 홈 디렉토리 */ char *pw_shell; /* shell 프로그램 */ }; .EE .in .SH 반환값 The \fBputpwent\fP() function returns 0 on success. On failure, it returns \-1, and \fIerrno\fP is set to indicate the error. .SH 에러 .TP \fBEINVAL\fP 유효하지 않은 인자가 주어졌다. .SH 속성 이 섹션에서 사용되는 용어에 대한 설명은 \fBattributes\fP(7)을 참조하십시오. .TS allbox; lbx lb lb l l l. 상호 작용 속성 번호 T{ .na .nh \fBputpwent\fP() T} Thread safety MT\-Safe locale .TE .sp 1 .SH 표준 None. .SH 이력 SVr4. .SH "추가 참조" \fBendpwent\fP(3), \fBfgetpwent\fP(3), \fBgetpw\fP(3), \fBgetpwent\fP(3), \fBgetpwnam\fP(3), \fBgetpwuid\fP(3), \fBsetpwent\fP(3) .PP .SH 번역 이 매뉴얼 페이지의 한국어 번역은 다음에 의해 편집되었습니다: 정강훈 . .PP 이 번역은 무료 문서입니다. 저작권 조건에 대해서는 .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License 버전 3 .UE 이상을 읽으십시오. 책임이 없습니다. .PP 이 매뉴얼 페이지의 번역에서 오류를 발견하면 .MT translation-team-ko@googlegroups.com .ME 로 이메일을 보내주십시오.