Print this page
9842 man page typos and spelling

*** 172,182 **** The getprojent() function returns a pointer to a struct project if it successfully enumerates an entry; otherwise it returns NULL, indicating the end of the enumeration. ! The getprojidbyname() function returns the project ID if the requsted entry is found; otherwise it returns -1 and sets errno to indicate the error. When the pointer returned by the reentrant functions getprojbyname(), --- 172,182 ---- The getprojent() function returns a pointer to a struct project if it successfully enumerates an entry; otherwise it returns NULL, indicating the end of the enumeration. ! The getprojidbyname() function returns the project ID if the requested entry is found; otherwise it returns -1 and sets errno to indicate the error. When the pointer returned by the reentrant functions getprojbyname(),
*** 216,226 **** These functions can also fail if the name service switch does not specify valid project(4) name service sources. In the case of an ! incompletely configurated name service switch configuration, getprojbyid() and other functions can return error values other than those documented above. These conditions usually occur when the nsswitch.conf file indicates that one or more name services is providing entries for the project database when that name service does not actually make a project table available. --- 216,226 ---- These functions can also fail if the name service switch does not specify valid project(4) name service sources. In the case of an ! incompletely configured name service switch configuration, getprojbyid() and other functions can return error values other than those documented above. These conditions usually occur when the nsswitch.conf file indicates that one or more name services is providing entries for the project database when that name service does not actually make a project table available.