BarryServer : Git

All the code for all my projects
// BarryServer : Git / OrionLibC / blob / 03048a95d88cc7a78171393371f5c22a0250a014 / include / pwd.h

// Related

OrionLibC

Barry Importing existing Orion LibC 03048a9 (2 years, 2 months ago)
#ifndef _PWD_H
#define _PWD_H

#include <sys/types.h>

/* Structure of a password entry */
typedef struct passwd {
	char *username;
	char *password;
	uid_t uid;
	gid_t gid;
	char *info;
	char *homedir;
	char *shell;
} Passwd;

Passwd *getpwname(const char *username);
Passwd *getpwuid(uid_t uid);

#endif