diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-03-16 12:48:47 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-03-16 12:48:47 +0100 |
commit | 3aa2b0a6657b0ebd1618ee684f8ae31cd8bf127b (patch) | |
tree | 42a3aaef992613eab55c5154ca7d207a4f70ef99 /doc/string_ops.rst | |
parent | 5acefbd715c8720abc5d8ccd5349e1d9589739df (diff) | |
parent | cec79a3f5578da4a9f9085282389482edf45c81b (diff) |
Update upstream source from tag 'upstream/4.26'
Update to upstream version '4.26'
with Debian dir 21e0b48e0d5c4f3b261c10cb65f0ca9fa00fd732
Diffstat (limited to 'doc/string_ops.rst')
-rw-r--r-- | doc/string_ops.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/string_ops.rst b/doc/string_ops.rst index 91da2f6..aea4896 100644 --- a/doc/string_ops.rst +++ b/doc/string_ops.rst @@ -478,7 +478,10 @@ be 1/12 such a year. This is consistent with the units employed by systemd. ``seconds`` into a string representation broken into days, hours, minutes, and remaining seconds as appropriate. By default, only the d/h/min/s units are emitted. The ``flags`` argument specifies if any other units should be emitted; -``HXUNIT_YEARS``, ``HXUNIT_MONTHS`` and ``HXUNIT_WEEKS`` are available. +``HXUNIT_YEARS``, ``HXUNIT_MONTHS`` and ``HXUNIT_WEEKS`` are available. The +longest string HX_unit_seconds can emit on a contemporary 64-bit POSIX system +with 1970 epoch is 40 characters (so a buffer should be no less than 41 bytes), +cf. ``HXSIZEOF_UNITSEC64``. Examples |