PUTPWENT
Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Å´º¾ó (3)
Updated: 1993³â 5¿ù 9ÀÏ
Index
Return to Main Contents
 
À̸§
putpwent - ÆÐ½º¿öµå ÆÄÀÏ ¿£Æ®¸®¸¦ ¾´´Ù.
 
»ç¿ë¹ý
#include <pwd.h>
#include <stdio.h>
#include <sys/types.h>
int putpwent(const struct passwd *p, FILE *stream);
 
¼³¸í
putpwent() ÇÔ¼ö´Â stream°ú °ü·ÃµÈ ÆÄÀÏ¿¡ ±¸Á¶Ã¼ p ÀÎ 
ÆÐ½º¿öµå ¿£Æ®¸®¸¦ ¾´´Ù.
passwd ±¸Á¶Ã¼´Â ´ÙÀ½Ã³·³ <pwd.h>¿¡ Á¤ÀǵǾî ÀÖ´Ù:
- 
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 ÇÁ·Î±×·¥ */
};
¹Ýȯ°ª
putpwent() ÇÔ¼ö´Â ¼º°ø½Ã 0À» ¸®ÅÏÇϰí, ¿¡·¯°¡ ¹ß»ýÇϸé -1À» ¹ÝȯÇÑ´Ù.
occurs.
 
¿¡·¯
- EINVAL
- 
À¯È¿ÇÏÁö ¾ÊÀº ÀÎÀÚ°¡ ÁÖ¾îÁ³´Ù.
ȣȯ
SVID 3
 
°ü·Ã Ç׸ñ
fgetpwent(3), getpwent(3), setpwent(3),
endpwent(3), getpwnam(3), getpwuid(3), getpw(3)
 
¿ªÀÚ
Á¤°ÈÆ <skyeyes@soback.kornet.net>, 2001³â 4¿ù 30ÀÏ 
 Index
- À̸§
- 
- »ç¿ë¹ý
- 
- ¼³¸í
- 
- ¹Ýȯ°ª
- 
- ¿¡·¯
- 
- ȣȯ
- 
- °ü·Ã Ç׸ñ
- 
- ¿ªÀÚ
- 
This document was created by
man2html,
using the manual pages.
Time: 08:07:01 GMT, March 25, 2004