Contains enums and definitions to manipulate process' partition rsets.
#include <pwd.h>
The rset.h header contains enums and definitions to manipulate process' partition resource sets.
char *pw_name user's login name uid_t pw_uid numerical user ID gid_t pw_gid numerical group ID char *pw_dir initial working directory char *pw_shell program to use as shell
The gid_t and uid_t types are defined as described in sys/types.h.
The following are declared as functions and may also be defined as macros. Function prototypes must be provided for use with an ISO C compiler.
struct passwd *getpwuid(uid_t); int getpwnam_r(const char *, struct passwd *, char *, size_t, struct passwd **); int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **); void endpwent(void); struct passwd *getpwent(void); void setpwent(void);
The following resource set APIs are exported by the kernel to kernel extensions. They will continue to be exported with semantics similar to the corresponding user space APIs.
The following new kernel exported kernel extension APIs will be provided. Their APIs will be similar to the corresponding user space APIs.
There are currently no exported kernel extension services for getting or setting a process's partition rset. The following new kernel extension APIs will be provided to manipulate process's partition rsets:
There are currently no exported kernel extension services to access the rset registry. Kernel extension APIs will not be provided.
The endpwent, getpwnam, getpwuid, and getpwuid_r subroutines.
The sys/types.h header file.