diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-10 16:04:37 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-10 17:31:31 +0100 |
commit | 519cffec890510f817740d07355e911b10c203b7 (patch) | |
tree | cdc9668c3c8b288df3a4a46de672b33e9e47b953 /src/core/load-fragment.c | |
parent | 75eb615480afd787fa412f0a529523f568f79b26 (diff) |
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.
Diffstat (limited to 'src/core/load-fragment.c')
0 files changed, 0 insertions, 0 deletions