diff options
Diffstat (limited to 'libbb/my_getpwuid.c')
-rw-r--r-- | libbb/my_getpwuid.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libbb/my_getpwuid.c b/libbb/my_getpwuid.c index 3195a2182..7da360ac8 100644 --- a/libbb/my_getpwuid.c +++ b/libbb/my_getpwuid.c | |||
@@ -22,15 +22,15 @@ | |||
22 | /* Hacked by Tito Ragusa (c) 2004 <farmatito@tiscali.it> to make it more | 22 | /* Hacked by Tito Ragusa (c) 2004 <farmatito@tiscali.it> to make it more |
23 | * flexible : | 23 | * flexible : |
24 | * | 24 | * |
25 | * if bufsize is > 0 char *user can not be set to NULL. | 25 | * if bufsize is > 0 char *name can not be set to NULL. |
26 | * On success username is written on static allocated buffer name | 26 | * On success username is written on the static allocated buffer name |
27 | * (and a pointer to it is returned). | 27 | * (and a pointer to it is returned). |
28 | * On failure uid as string is written to static allocated buffer name | 28 | * On failure uid as string is written to the static allocated buffer name |
29 | * and NULL is returned. | 29 | * and NULL is returned. |
30 | * if bufsize is = 0 char *user can be set to NULL. | 30 | * if bufsize is = 0 char *name can be set to NULL. |
31 | * On success username is returned. | 31 | * On success username is returned. |
32 | * On failure NULL is returned. | 32 | * On failure NULL is returned. |
33 | * if bufsize is < 0 char *user can be set to NULL | 33 | * if bufsize is < 0 char *name can be set to NULL |
34 | * On success username is returned. | 34 | * On success username is returned. |
35 | * On failure an error message is printed and the program exits. | 35 | * On failure an error message is printed and the program exits. |
36 | */ | 36 | */ |