示例#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);
}