519cffec890510f817740d07355e911b10c203b7 |
|
10-Nov-2015 |
Lennart Poettering <lennart@poettering.net> |
time-util: add parse_time(), which is like parse_sec() but allows specification of default time unit if none is specified
This is useful if we want to parse RLIMIT_RTTIME values where the common
UNIX syntax is without any units but refers to a non-second unit (µs in
this case), but where we want to allow specification of units. |