2002-12-09 12:30:07 +05:30
|
|
|
#ifndef PROCPS_PROC_PWCACHE_H
|
|
|
|
#define PROCPS_PROC_PWCACHE_H
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include "procps.h"
|
|
|
|
|
|
|
|
EXTERN_C_BEGIN
|
|
|
|
|
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 20
|
|
|
|
|
2002-12-09 12:30:07 +05:30
|
|
|
extern char *user_from_uid(uid_t uid);
|
|
|
|
extern char *group_from_gid(gid_t gid);
|
|
|
|
|
|
|
|
EXTERN_C_END
|
|
|
|
|
|
|
|
#endif
|