git: libutil: Bring in snprintb() and snprintb_m() from NetBSD

Aaron LI aly at crater.dragonflybsd.org
Sat Jun 19 03:40:01 PDT 2021


commit 1d3001ef599cad179a2b2ad4b24a0f002ecdf498
Author: Aaron LI <aly at aaronly.me>
Date:   Wed May 26 07:20:56 2021 +0800

    libutil: Bring in snprintb() and snprintb_m() from NetBSD
    
    At least, nvmmctl(8) requires snprintb().

Summary of changes:
 lib/libutil/Makefile   |   9 +-
 lib/libutil/libutil.h  |   3 +
 lib/libutil/snprintb.3 | 361 +++++++++++++++++++++++++++++++++++++++++++++++++
 lib/libutil/snprintb.c | 266 ++++++++++++++++++++++++++++++++++++
 4 files changed, 637 insertions(+), 2 deletions(-)
 create mode 100644 lib/libutil/snprintb.3
 create mode 100644 lib/libutil/snprintb.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1d3001ef599cad179a2b2ad4b24a0f002ecdf498


-- 
DragonFly BSD source repository


More information about the Commits mailing list