Subject: Re: getpwent_r()
To: None <current-users@NetBSD.org>
From: John Nemeth <jnemeth@victoria.tc.ca>
List: current-users
Date: 03/31/2005 23:49:56
On Aug 21,  6:12pm, John Nemeth wrote:
}
}      libedit uses getpwent() to enumerate all users starting with a
} particular string.  I think this means that we are going to need a
} getpwent_r() function.  Solaris 8 has one that looks like this:
} 
}      struct passwd *getpwent_r(struct passwd *pwd, char  *buffer,
}      int buflen);

     On the other hand, FreeBSD has one that looks like:

     int
     getpwent_r(struct passwd *pwd, char *buffer, size_t bufsize,
	 struct passwd **result);

}-- End of excerpt from John Nemeth