Home
last modified time | relevance | path

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

/busybox-1.35.0/shell/
Dshell_common.c626 char *val_str; in shell_builtin_ulimit() local
642 val_str = optarg; in shell_builtin_ulimit()
643 if (!val_str && argv[optind] && argv[optind][0] != '-') in shell_builtin_ulimit()
644 val_str = argv[optind++]; /* ++ skips NN in "-c NN" case */ in shell_builtin_ulimit()
647 if (!val_str) { in shell_builtin_ulimit()
653 if (strcmp(val_str, "unlimited") != 0) { in shell_builtin_ulimit()
655 val = bb_strtou(val_str, NULL, 10); in shell_builtin_ulimit()
657 val = bb_strtoul(val_str, NULL, 10); in shell_builtin_ulimit()
659 val = bb_strtoull(val_str, NULL, 10); in shell_builtin_ulimit()
661 bb_error_msg("invalid number '%s'", val_str); in shell_builtin_ulimit()