Changeset 75c430e3 in mainline for uspace/lib/c/generic/stdlib.c
- Timestamp:
- 2018-06-19T11:48:03Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 47be512
- Parents:
- 6c440362
- git-author:
- Jiri Svoboda <jiri@…> (2018-06-18 17:47:07)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-06-19 11:48:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/stdlib.c
r6c440362 r75c430e3 166 166 } 167 167 168 /** Get environment list entry. 169 * 170 * Note that this function is not reentrant. The returned string is only 171 * guaranteed to be valid until the next call to @c getenv. 172 * 173 * @param name Entry name 174 * @return Pointer to string or @c NULL if not found 175 */ 176 char *getenv(const char *name) 177 { 178 (void) name; 179 return NULL; 180 } 181 182 /** Execute command. 183 * 184 * @param string Command to execute or @c NULL 185 * 186 * @return If @a string is @c NULL, return zero (no command processor 187 * available). If @a string is not @c NULL, return 1 (failure). 188 */ 189 int system(const char *string) 190 { 191 if (string == NULL) 192 return 0; 193 194 return 1; 195 } 168 196 169 197 /** Compute quotient and remainder of int division.
Note:
See TracChangeset
for help on using the changeset viewer.