Changes in uspace/lib/posix/pwd.c [3190e88:f215bb5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/pwd.c
r3190e88 rf215bb5 51 51 52 52 /** 53 * Retrieve next broken-down entry from the user database.54 *55 53 * Since HelenOS doesn't have user accounts, this always returns 56 54 * the same made-up entry. 57 55 * 58 * @return Next user database entry or NULL if not possible. Since HelenOS 59 * doesn't have user accounts, this always returns the same made-up entry. 56 * @return 60 57 */ 61 58 struct posix_passwd *posix_getpwent(void) … … 70 67 71 68 /** 72 * Rewind the user list.69 * "Rewind the user list". 73 70 */ 74 71 void posix_setpwent(void) … … 89 86 * 90 87 * @param name Name of the entry. 91 * @return Either found entry or NULL if no such entry exists.88 * @return 92 89 */ 93 90 struct posix_passwd *posix_getpwnam(const char *name) … … 106 103 * 107 104 * @param name Name of the entry. 108 * @param pwd Original structure. 109 * @param buffer Buffer for the strings referenced from the result structure. 110 * @param bufsize Length of the buffer. 111 * @param result Where to store updated structure. 112 * @return Zero on success (either found or not found, but without an error), 113 * non-zero error number if error occured. 105 * @param pwd 106 * @param buffer 107 * @param bufsize 108 * @param result 109 * @return 114 110 */ 115 111 int posix_getpwnam_r(const char *name, struct posix_passwd *pwd, … … 133 129 * 134 130 * @param uid UID of the entry. 135 * @return Either found entry or NULL if no such entry exists.131 * @return 136 132 */ 137 133 struct posix_passwd *posix_getpwuid(posix_uid_t uid) … … 148 144 * 149 145 * @param uid UID of the entry. 150 * @param pwd Original structure. 151 * @param buffer Buffer for the strings referenced from the result structure. 152 * @param bufsize Length of the buffer. 153 * @param result Where to store updated structure. 154 * @return Zero on success (either found or not found, but without an error), 155 * non-zero error number if error occured. 146 * @param pwd 147 * @param buffer 148 * @param bufsize 149 * @param result 150 * @return 156 151 */ 157 152 int posix_getpwuid_r(posix_uid_t uid, struct posix_passwd *pwd,
Note:
See TracChangeset
for help on using the changeset viewer.