aboutsummaryrefslogtreecommitdiff
path: root/libbb/my_getug.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/my_getug.c')
-rw-r--r--libbb/my_getug.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/libbb/my_getug.c b/libbb/my_getug.c
index 894dc5fdd..9b7292d13 100644
--- a/libbb/my_getug.c
+++ b/libbb/my_getug.c
@@ -21,17 +21,17 @@
21 21
22 /* 22 /*
23 * 23 *
24 * if bufsize is > 0 char *idname can not be set to NULL. 24 * if bufsize is > 0 char *buffer can not be set to NULL.
25 * On success idname is written on static allocated buffer 25 * If idname is not NULL it is written on the static allocated buffer
26 * (and a pointer to it is returned). 26 * (and a pointer to it is returned).
27 * On failure uid or gid as string is written to static allocated buffer 27 * if idname is NULL, id as string is written to the static allocated buffer
28 * and NULL is returned. 28 * and NULL is returned.
29 * if bufsize is = 0 char *idname can be set to NULL. 29 * if bufsize is = 0 char *buffer can be set to NULL.
30 * On success idname is returned. 30 * If idname exists a pointer to it is returned,
31 * On failure NULL is returned. 31 * else NULL is returned.
32 * if bufsize is < 0 char *idname can be set to NULL. 32 * if bufsize is < 0 char *buffer can be set to NULL.
33 * On success idname is returned. 33 * If idname exists a pointer to it is returned,
34 * On failure an error message is printed and the program exits. 34 * else an error message is printed and the program exits.
35 */ 35 */
36 36
37#include <stdio.h> 37#include <stdio.h>