The following functions are provided to assist developers in working with projects. The functions use entries that describe user projects in the project database.
Close the project database and deallocate resources when processing is complete.
Returns a pointer to a structure containing an entry in the project database. Rather than using nsswitch.conf, fgetprojent() reads a line from a stream.
Check the validity of the project keyword, look up the project, and return a pointer to the project structure if found.
Search the project database for an entry with the number that specifies the project ID.
Search the project database for an entry with the string that specifies project name.
Returns a pointer to a structure containing an entry in the project database.
Check whether the specified user is permitted to use the specified project.
Add a user process to a project.
Rewind the project database to allow repeated searches.