OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [include/] [pwd.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
#ifndef __PWD_H
2
#define __PWD_H
3
 
4
#include <sys/types.h>
5
#include <features.h>
6
#include <stdio.h>
7
 
8
/* The passwd structure.  */
9
struct passwd
10
{
11
  char *pw_name;                /* Username.  */
12
  char *pw_passwd;              /* Password.  */
13
  uid_t pw_uid;                 /* User ID.  */
14
  gid_t pw_gid;                 /* Group ID.  */
15
  char *pw_gecos;               /* Real name.  */
16
  char *pw_dir;                 /* Home directory.  */
17
  char *pw_shell;               /* Shell program.  */
18
};
19
 
20
 
21
extern void setpwent __P ((void));
22
extern void endpwent __P ((void));
23
extern struct passwd * getpwent __P ((void));
24
 
25
extern int putpwent __P ((__const struct passwd * __p, FILE * __f));
26
extern int getpw __P ((uid_t uid, char *buf));
27
 
28
extern struct passwd * fgetpwent __P ((FILE * file));
29
 
30
extern struct passwd * getpwuid __P ((__const uid_t));
31
extern struct passwd * getpwnam __P ((__const char *));
32
 
33
#ifdef __LIBC__
34
extern struct passwd * __getpwent __P ((__const int passwd_fd));
35
#endif
36
 
37
#endif /* pwd.h  */
38
 
39
 
40
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.