8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / lib / libbc / inc / include / pwd.h
blob701d19d64c88f1b434b990af972ea85f1ac02f05
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * Copyright 1989 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 /* Copyright (c) 1984 AT&T */
28 /* All Rights Reserved */
30 #pragma ident "%Z%%M% %I% %E% SMI"
32 #ifndef __pwd_h
33 #define __pwd_h
35 #include <sys/types.h>
37 struct passwd {
38 char *pw_name;
39 char *pw_passwd;
40 int pw_uid;
41 int pw_gid;
42 char *pw_age;
43 char *pw_comment;
44 char *pw_gecos;
45 char *pw_dir;
46 char *pw_shell;
50 #ifndef _POSIX_SOURCE
51 extern struct passwd *getpwent();
53 struct comment {
54 char *c_dept;
55 char *c_name;
56 char *c_acct;
57 char *c_bin;
60 #endif
62 struct passwd *getpwuid(/* uid_t uid */);
63 struct passwd *getpwnam(/* char *name */);
65 #endif /* !__pwd_h */