Instantly share code, notes, and snippets.

Embed
What would you like to do?
#include <shadow.h>
struct spwd *getspnam(const char *name);
struct spwd *getspent(void);
/* Both return: pointer if OK, NULL on error */
void setspent(void);
void endspent(void);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment