1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
.\" Copyright 2003 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
.\"
.\" Japanese Version Copyright (c) 2004 Yuichi SATO
.\" all rights reserved.
.\" Translated Sat Aug 28 14:07:20 JST 2004
.\" by Yuichi SATO <ysato444@yahoo.co.jp>
.\"
.TH PUTGRENT 3 2003-09-09 "GNU" "Linux Programmer's Manual"
.SH ̾
putgrent \- 롼ץǡ١ȥե˽
.SH
.B #define _GNU_SOURCE
.br
.B #include <grp.h>
.sp
.BI "int putgrent(const struct group *" grp ", FILE *" fp );
.SH
.BR putgrent ()
ؿ
.BR fgetgrent (3)
εդǤ롣
δؿͿ줿 \fIstruct group\fP
.I fp
ǻؤե˽ࡣ
롼ץФΥꥹȤϡNULL ǽü뤫
NULL ǽʤФʤʤ
.sp
\fIstruct group\fP ϰʲΤ褦:
.sp
.in +4n
.nf
struct group {
char *gr_name; /* 롼̾ */
char *gr_passwd; /* 롼ץѥ */
gid_t gr_gid; /* 롼 ID */
char **gr_mem; /* 롼ץ */
};
.fi
.in
.SH ֤
δؿϡ 0 ֤顼ξ 0 ʳ֤ͤ
.SH
δؿ GNU ˤĥǤ롣
.SH Ϣ
.BR fgetgrent (3),
.BR getgrent (3),
.BR group (5),
.BR feature_test_macros (7)
|