summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/include/grp.h
blob: 08b153137cf241c486afe1872868caf8b1f23376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef _GRP_H
#define _GRP_H

#include <sys/cdefs.h>
#include <sys/types.h>

struct group
  {
    char *gr_name;		/* Group name.	*/
    char *gr_passwd;		/* Password.	*/
    gid_t gr_gid;		/* Group ID.	*/
    char **gr_mem;		/* Member list.	*/
  };

extern struct group *getgrgid (gid_t uid) __THROW;
extern struct group *getgrnam (const char *name) __THROW;

extern struct group *getgrent(void) __THROW;
extern void setgrent(void) __THROW;
extern void endgrent(void) __THROW;

int getgrent_r(struct group *res, char *buf, size_t buflen,
	       struct group **res_sig) __THROW;
int getgrnam_r(const char* name,
	       struct group *res, char *buf, size_t buflen,
	       struct group **res_sig) __THROW;
int getgrgid_r(uid_t uid,
	       struct group *res, char *buf, size_t buflen,
	       struct group **res_sig) __THROW;

extern int setgroups(size_t n, const gid_t *groups) __THROW;
extern int setgroups32(size_t n, const gid32_t *groups) __THROW;
extern int initgroups(const char *user, gid_t group) __THROW;

#endif
03-101-4/+0 * merge in new stringsThierry Vignaud2005-03-101-0/+112 * Added translation for "recommended" stringPablo Saratxaga2005-03-031-4304/+4999 * updated pot filePablo Saratxaga2004-10-071-5286/+6432 * updated Welsh filePablo Saratxaga2004-06-141-1932/+1980 * updated Welsh and Norwegian filesPablo Saratxaga2004-04-191-1146/+1142 * updateThierry Vignaud2004-03-231-3286/+3856 * updated pot filePablo Saratxaga2004-02-191-14347/+17208 * fixed my previous bad entriesPablo Saratxaga2003-12-031-421/+756 * updated pot filePablo Saratxaga2003-09-181-410/+487 * updated pot filePablo Saratxaga2003-09-121-2470/+2608 * updated pot filePablo Saratxaga2003-08-131-1708/+2419 * changed the name of the russian phonetic layoutPablo Saratxaga2003-05-311-145/+258 * updated pot filePablo Saratxaga2003-05-161-13483/+13572 * updated Japanese file; updated pot filePablo Saratxaga2003-03-241-6/+11 * updated Welsh, Estonian and Hebrew filesPablo Saratxaga2003-03-121-655/+305 * updated pot filePablo Saratxaga2003-03-091-232/+232 * iupdated Vietnamese, Estonian and Dutch files;Pablo Saratxaga2003-03-071-1/+1 * updated pot filePablo Saratxaga2003-03-071-482/+663 * updated pot filePablo Saratxaga2003-02-281-1458/+1519 * simplify translator job by propaging pixel english typo fixThierry Vignaud2003-02-171-11203/+15610 * updated po filesPablo Saratxaga2002-12-051-2603/+3516 * updated Welsh, Hungarian, Indonesian, Latvian, Russian, Slovak and VietnamesePablo Saratxaga2002-09-221-2276/+469 * updated Welsh, French, Latvian and Chinese filesPablo Saratxaga2002-09-14