Home
last modified time | relevance | path

Searched refs:end_ms (Results 1 – 1 of 1) sorted by relevance

/busybox-1.35.0/shell/
Dshell_common.c41 unsigned end_ms; /* -t TIMEOUT */ in shell_builtin_read() local
76 end_ms = 0; in shell_builtin_read()
78 end_ms = bb_strtou(params->opt_t, NULL, 10); in shell_builtin_read()
81 if (end_ms > UINT_MAX / 2048) /* be safely away from overflow */ in shell_builtin_read()
82 end_ms = UINT_MAX / 2048; in shell_builtin_read()
83 end_ms *= 1000; in shell_builtin_read()
91 end_ms = bb_strtou(params->opt_t, &p, 10); in shell_builtin_read()
92 if (end_ms > UINT_MAX / 2048) /* be safely away from overflow */ in shell_builtin_read()
93 end_ms = UINT_MAX / 2048; in shell_builtin_read()
101 end_ms *= 10; in shell_builtin_read()
[all …]