view nt/inc/pwd.h @ 42471:4234f54994ef

(main): Parenthesize assignment when used as truth value to prevent gcc warnings.
author Pavel Janík <Pavel@Janik.cz>
date Tue, 01 Jan 2002 22:08:54 +0000
parents 6df655ed941d
children 695cf19ef79e d7ddb3e565de
line wrap: on
line source

#ifndef _PWD_H_
#define _PWD_H_
/*
 * pwd.h doesn't exist on NT, so we put together our own.
 */

struct passwd {
    char *pw_name;
    char *pw_passwd;
    int   pw_uid;
    int   pw_gid;
    int   pw_quota;
    char *pw_gecos;
    char *pw_dir;
    char *pw_shell;
};

typedef int uid_t;
typedef uid_t gid_t;

#endif /* _PWD_H_ */