Print this page
9842 man page typos and spelling

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3project/getprojent.3project.man.txt
          +++ new/usr/src/man/man3project/getprojent.3project.man.txt
↓ open down ↓ 166 lines elided ↑ open up ↑
 167  167         The getprojbyname() and getprojbyid() functions each return a pointer
 168  168         to a struct project if they successfully locate the requested entry;
 169  169         otherwise they return NULL.
 170  170  
 171  171  
 172  172         The getprojent() function returns a pointer to a struct project if it
 173  173         successfully enumerates an entry; otherwise it returns NULL, indicating
 174  174         the end of the enumeration.
 175  175  
 176  176  
 177      -       The getprojidbyname() function returns the project ID if the requsted
      177 +       The getprojidbyname() function returns the project ID if the requested
 178  178         entry is found; otherwise it returns -1 and sets errno to indicate the
 179  179         error.
 180  180  
 181  181  
 182  182         When the pointer returned by the reentrant functions getprojbyname(),
 183  183         getprojbyid(), and getprojent() is non-null, it is always equal to the
 184  184         proj pointer that was supplied by the caller.
 185  185  
 186  186  
 187  187         Upon failure, NULL is returned and errno is set to indicate the error.
↓ open down ↓ 23 lines elided ↑ open up ↑
 211  211  
 212  212         ERANGE
 213  213                   Insufficient storage was supplied by buffer and bufsize to
 214  214                   contain the data to be referenced by the resulting project
 215  215                   structure.
 216  216  
 217  217  
 218  218  
 219  219         These functions can also fail if the name service switch does not
 220  220         specify valid project(4) name service sources. In the case of an
 221      -       incompletely configurated name service switch configuration,
      221 +       incompletely configured name service switch configuration,
 222  222         getprojbyid() and other functions can return error values other than
 223  223         those documented above. These conditions usually occur when the
 224  224         nsswitch.conf file indicates that one or more name services is
 225  225         providing entries for the project database when that name service does
 226  226         not actually make a project table available.
 227  227  
 228  228  USAGE
 229  229         When compiling multithreaded applications, see Intro(3), Notes On
 230  230         Multithreaded Applications.
 231  231  
↓ open down ↓ 27 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX