Changeset 5a6cc679 in mainline for uspace/app/bdsh/cmds/modules/sleep/sleep.c
- Timestamp:
- 2018-01-31T02:21:24Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a0a9cc2
- Parents:
- 132ab5d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/sleep/sleep.c
r132ab5d1 r5a6cc679 62 62 * @return EOK if conversion was successful. 63 63 */ 64 static int decimal_to_useconds(const char *nptr, useconds_t *result)64 static errno_t decimal_to_useconds(const char *nptr, useconds_t *result) 65 65 { 66 int ret;66 errno_t ret; 67 67 uint64_t whole_seconds; 68 68 uint64_t frac_seconds; … … 112 112 int cmd_sleep(char **argv) 113 113 { 114 int ret;114 errno_t ret; 115 115 unsigned int argc; 116 116 useconds_t duration = 0;
Note:
See TracChangeset
for help on using the changeset viewer.