procps/proc/pwcache.h

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