History log of /dflybsd-src/lib/libutil/humanize_unsigned.c (Results 1 – 5 of 5)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.3.0, v6.0.1
# 70fef11b 27-May-2021 Aaron LI <aly@aaronly.me>

libutil: Allow suffix to be NULL in humanize_{number,unsigned}()

Allow to pass NULL to the suffix argument to these two functions. If
suffix is NULL, then take it as "" (i.e., empty suffix). This

libutil: Allow suffix to be NULL in humanize_{number,unsigned}()

Allow to pass NULL to the suffix argument to these two functions. If
suffix is NULL, then take it as "" (i.e., empty suffix). This case
happens in nvmmctl(8).

show more ...


Revision tags: v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1
# d316f7c9 09-Feb-2014 John Marino <draco@marino.st>

libutil: Various updates from FreeBSD, esp. pid_* functions

It appears that libutil.so is another Frankenstein monster where half
of it came from FreeBSD and later it was updated with NetBSD functio

libutil: Various updates from FreeBSD, esp. pid_* functions

It appears that libutil.so is another Frankenstein monster where half
of it came from FreeBSD and later it was updated with NetBSD functions.
Like libm, this causes problems with syncing later.

In order to update the daemon program, the set of pidfile_* functions
had to be brought in from FreeBSD. While doing that, I synced with
FreeBSD as much as possible. The expand number function was added
as well as a dedicated pw_util man page.

Specifically ignored were FreeBSD functionality involving kinfo and kld.
The login functions are essentially incompatible as the FreeBSD ones
require syscntls, so I left the NetBSD versions alone. The various
humanize functions that only exist on DragonFly were also left untouched.

Collateral damage included:
sbin/devd/devd.[ch][ch] (partial sync)
usr.sbin/authpf/authpf.c (partial sync)
usr.sbin/apmd/apmd.c
usr.sbin/battd/battd.c
usr.sbin/bthcid/bthcid.c
usr.sbin/pflogd/pflogd.c
usr.sbin/rwhod/rwhod.c
usr.sbin/syslogd/ (full sync)
usr.sbin/sysvipcd/sysvipcd.c

show more ...


Revision tags: v3.6.0, v3.7.1, v3.6.0rc, v3.4.3, v3.4.2, v3.4.1, v3.4.0, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0
# 2443e96e 07-Feb-2011 Justin C. Sherrill <justin@leaf.dragonflybsd.org>

Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly

Conflicts:
UPDATING


Revision tags: v2.9.1
# 12aea7ca 07-Nov-2010 Matthew Dillon <dillon@apollo.backplane.com>

libutil - Add humanize_unsigned()

* Add a humanize_unsigned() function as a companion to humanize_number()
which does a much better job on large unsigned 64-bit quantities.

Submitted-by: Ilya Dry

libutil - Add humanize_unsigned()

* Add a humanize_unsigned() function as a companion to humanize_number()
which does a much better job on large unsigned 64-bit quantities.

Submitted-by: Ilya Dryomov <idryomov@gmail.com>

show more ...