2002-12-09 12:30:07 +05:30
|
|
|
#ifndef PROCPS_PROC_PWCACHE_H
|
|
|
|
#define PROCPS_PROC_PWCACHE_H
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
2015-06-20 03:13:02 +05:30
|
|
|
#include <proc/procps.h>
|
2002-12-09 12:30:07 +05:30
|
|
|
|
2015-06-20 03:13:02 +05:30
|
|
|
__BEGIN_DECLS
|
2002-12-09 12:30:07 +05:30
|
|
|
|
2004-07-21 05:01:12 +05:30
|
|
|
// used in pwcache and in readproc to set size of username or groupname
|
2014-07-14 19:51:52 +05:30
|
|
|
#define P_G_SZ 33
|
2004-07-21 05:01:12 +05:30
|
|
|
|
2015-06-24 18:16:06 +05:30
|
|
|
char *user_from_uid(uid_t uid);
|
|
|
|
char *group_from_gid(gid_t gid);
|
2002-12-09 12:30:07 +05:30
|
|
|
|
2015-06-20 03:13:02 +05:30
|
|
|
__END_DECLS
|
2002-12-09 12:30:07 +05:30
|
|
|
|
|
|
|
#endif
|