1LFC_GETUSRBYUID(3)                LFC      Library      Functions
2LFC_GETUSRBYUID(3)
3
4
5
6[1mNAME[0m
7       lfc_getusrbyuid ‐ get user name associated  with  a  given
8virtual uid
9
10[1mSYNOPSIS[0m
11       [1m#include <sys/types.h>[0m
12       [1m#include "lfc_api.h"[0m
13
14       [1mint   lfc_getusrbyuid  (uid_t  [4m[22muid[24m[1m,  char
15*[4m[22musername[24m[1m)[0m
16
17[1mDESCRIPTION[0m
18       [1mlfc_getusrbyuid [22mgets the user name associated  with
19a given virtual uid.
20
21       [4muid[24m    specifies the Virtual User Id.
22
23       [4musername[0m
24              points   at   a   buffer  to receive the associated
25user name.  The
26              buffer must be at least 256 characters long.
27
28[1mRETURN VALUE[0m
29       This routine returns 0 if the operation was successful  or
30‐1  if  the
31       operation failed. In the latter case, [1mserrno [22mis set
32appropriately.
33
34[1mERRORS[0m
35       [1mEFAULT       [4m[22musername[24m is a NULL pointer.
36
37       [1mEINVAL       [22mThis uid does not exist in the  inter‐
38nal mapping table.
39
40       [1mSENOSHOST    [22mHost unknown.
41
42       [1mSENOSSERV    [22mService unknown.
43
44       [1mSECOMERR     [22mCommunication error.
45
46       [1mENSNACT      [22mName server is not running or is being
47shutdown.
48
49
50
51LFC                         $Date:    2005/10/19    11:30:57    $
52LFC_GETUSRBYUID(3)
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Impressum