Пример #1
0
int
delnispwent(const char *path, const char *login)
{
	return pw_nisupdate(path, NULL, login);
}
Пример #2
0
int
addnispwent(const char *path, struct passwd * pwd)
{
	return pw_nisupdate(path, pwd, NULL);
}
Пример #3
0
int
chgnispwent(const char *path, char const * login, struct passwd * pwd)
{
	return pw_nisupdate(path, pwd, login);
}
Пример #4
0
int
addnispwent(const char *path, struct passwd * pwd)
{
	return pw_nisupdate(path, pwd, pwd->pw_name, UPD_CREATE);
}