Rob Landley
|
46a369dc38
File time's realtime output and switch to clock_gettime().
|
2 years ago |
Rob Landley
|
16b9f7cd0f
Make time -p output exact posix format, remove TOYBOX_FLOAT dependency,
|
2 years ago |
prettykool@protonmail.com
|
5d9432ba05
Tabs + newline added to time.c
|
2 years ago |
Elliott Hughes
|
763e85820b
Canonicalize the usage: lines for the POSIX toys.
|
4 years ago |
Rob Landley
|
9c52df1131
Add MAYFORK to more pseudo-builtins.
|
4 years ago |
Elliott Hughes
|
797e55ad9b
time: fix -v output.
|
5 years ago |
Rob Landley
|
747e296ff6
Add FLAG(x) macro, expanding to (toys.optflags & FLAG_##x)
|
5 years ago |
Elliott Hughes
|
141a075c0e
Clean up some --help formatting.
|
5 years ago |
Elliott Hughes
|
95942749b0
Add "time -v".
|
6 years ago |
Rob Landley
|
7d6af77804
Make defconfig build for nommu.
|
8 years ago |
Rob Landley
|
847bcb63b5
Add xvfork() as a static inline and use it from various places.
|
8 years ago |
Rob Landley
|
c1ab8dadd0
The time command depends on floating point support.
|
9 years ago |
Rob Landley
|
c0045207a7
Make toy_exec() check if argc is in optargs and deal with it there so we don't need a separate xexec_optargs().
|
9 years ago |
Rob Landley
|
d8872c43b4
Introduce xfork() and make commands use it, and make some WEXITSTATUS() use WIFEXITED() and WTERMSIG()+127.
|
10 years ago |
Rob Landley
|
a817a02c00
Replace users of xexec(toys.optargs) with xexec_optargs(0) to avoid free/reuse bug during argument parsing.
|
11 years ago |
Rob Landley
|
9d6e08806f
Add time command (that only does posix mode).
|
11 years ago |