int delnispwent(const char *path, const char *login) { return pw_nisupdate(path, NULL, login); }
int addnispwent(const char *path, struct passwd * pwd) { return pw_nisupdate(path, pwd, NULL); }
int chgnispwent(const char *path, char const * login, struct passwd * pwd) { return pw_nisupdate(path, pwd, login); }
int addnispwent(const char *path, struct passwd * pwd) { return pw_nisupdate(path, pwd, pwd->pw_name, UPD_CREATE); }