@samp{h} for hours
@samp{d} for days
@end display
+@macro hexDuration
+Note it's best to avoid combining suffixes with hexadecimal arguments,
+as any @samp{d} will @emph{not} be interpreted as a suffix.
+@end macro
+@hexDuration
A duration of 0 disables the associated timeout.
The actual timeout duration is dependent on system conditions,
which should be especially considered when specifying sub-second timeouts.
also accepts two or more arguments, unit suffixes, and floating-point
numbers in either the current or the C locale. @xref{Floating point}.
+@hexDuration
+
For instance, the following could be used to @command{sleep} for
1 second, 234 milli-, 567 micro- and 890 nanoseconds:
# subsecond actual sleep
timeout 10 sleep 0.001 || fail=1
timeout 10 sleep 0x.002p1 || fail=1
+timeout 10 sleep 0x0.01d || fail=1 # d is part of hex, not a day suffix
# Using small timeouts for larger sleeps is racy,
# but false positives should be avoided on most systems