Re: Gah! Any real world Open Directory examples?
23 Mar
2007
23 Mar
'07
4:24 p.m.
site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com On Mar 23, 2007, at 12:18, Jason Townsend wrote: If all you need is the shell, you could consider using getpwnam(). char *shell; struct passwd * userRec; userRec = getpwnam(username); shell = strdup(userRec.pw_shell); That's not a bad idea. Thanks. -David _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
6803
Age (days ago)
6803
Last active (days ago)
0 comments
1 participants
participants (1)
-
David Nedrow