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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
#ifndef __GRP_H
2
#define __GRP_H
3
 
4
#include <sys/types.h>
5
#include <features.h>
6
#include <stdio.h>
7
 
8
/* The group structure */
9
struct group
10
{
11
  char *gr_name;                /* Group name.  */
12
  char *gr_passwd;              /* Password.    */
13
  gid_t gr_gid;                 /* Group ID.    */
14
  char **gr_mem;                /* Member list. */
15
};
16
 
17
extern void setgrent __P ((void));
18
extern void endgrent __P ((void));
19
extern struct group * getgrent __P ((void));
20
 
21
extern struct group * getgrgid __P ((__const gid_t gid));
22
extern struct group * getgrnam __P ((__const char * name));
23
 
24
extern struct group * fgetgrent __P ((FILE * file));
25
 
26
extern int setgroups __P ((size_t n, __const gid_t * groups));
27
extern int initgroups __P ((__const char * user, gid_t gid));
28
 
29
 
30
#ifdef __LIBC__
31
extern struct group * __getgrent __P ((int grp_fd));
32
#endif
33
 
34
#endif /* _GRP_H */
35
 
36
 
37
 

powered by: WebSVN 2.1.0

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