procps/proc/pwcache.h

18 lines
299 B
C
Raw Normal View History

2002-12-09 12:30:07 +05:30
#ifndef PROCPS_PROC_PWCACHE_H
#define PROCPS_PROC_PWCACHE_H
#include <features.h>
2002-12-09 12:30:07 +05:30
#include <sys/types.h>
__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
#define P_G_SZ 33
2004-07-21 05:01:12 +05:30
char *user_from_uid(uid_t uid);
char *group_from_gid(gid_t gid);
2002-12-09 12:30:07 +05:30
__END_DECLS
2002-12-09 12:30:07 +05:30
#endif