Skip to content

Instantly share code, notes, and snippets.

@shichao-an

shichao-an/apue_getspnam.h

Last active Aug 29, 2015
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