Trusted Solaris 開発ガイド

データベースアクセス

第 10 章「ユーザーとプロファイルのデータベースエントリへのアクセス」を参照してください。

userent_t									*getuserentbyname(char *user, int src);
 userent_t 									*getuserentbyuid(uid_t uid, int src);
 void									setuserent(int stayopen, int src);
 userent_t 									*getuserent(int src);
 void						enduserent(int src);
 void 									free_userent(userent_t *userent);
 profstr_t									*getprofstrbyname(char *name, int src);
 profent_t									*getprofentbyname(char *name, int src);
 void									setprofstr(int stayopen, int src);
 void									setprofent(int stayopen, int src);
 profstr_t										*getprofstr(int src);
 profent_t	 								*getprofent(int src);
 void									endprofstr(int src);
 void									endprofent(int src);
 void									free_profstr(profstr_t *profent);
 void 									free_profent(profent_t *profent);