posixc.library: add a simple user/grp emulation for purpose of set/get uid functions
[AROS.git] / compiler / posixc / __usergrp.h
blob732a737b24c159b46ba98e211fad465fa4126715
1 #ifndef ___USERGRP_H
2 #define ___USERGRP_H
4 /*
5 Copyright © 2016, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #include <aros/types/gid_t.h>
10 #include <aros/types/uid_t.h>
12 struct userrecord
14 char *ur_name; /* Username */
15 uid_t ur_uid; /* Read User ID */
16 gid_t ur_gid; /* Group ID */
17 char *ur_dir; /* Home directory */
18 char *ur_shell; /* Shell */
19 char *ur_passwd; /* Password */
20 char *ur_gecos; /* Real name */
23 extern struct userrecord _user;
25 #endif /* ___USERGRP_H */