git: Add support for various sysconf(3) / confstr(3) / getconf(1) constants.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Oct 18 11:05:27 PDT 2015


commit 84b31f2935bf3a2d5afc2cb85fdd1bd8eebfe648
Author: Sascha Wildner <saw at online.de>
Date:   Sun Oct 18 19:59:41 2015 +0200

    Add support for various sysconf(3) / confstr(3) / getconf(1) constants.
    
    _SC_V7_ILP32_OFF32
    _SC_V7_ILP32_OFFBIG
    _SC_V7_LP64_OFF64
    _SC_V7_LPBIG_OFFBIG
    _CS_POSIX_V7_ILP32_OFF32_CFLAGS
    _CS_POSIX_V7_ILP32_OFF32_LDFLAGS
    _CS_POSIX_V7_ILP32_OFF32_LIBS
    _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS
    _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS
    _CS_POSIX_V7_ILP32_OFFBIG_LIBS
    _CS_POSIX_V7_LP64_OFF64_CFLAGS
    _CS_POSIX_V7_LP64_OFF64_LDFLAGS
    _CS_POSIX_V7_LP64_OFF64_LIBS
    _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS
    _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS
    _CS_POSIX_V7_LPBIG_OFFBIG_LIBS
    _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS

Summary of changes:
 include/unistd.h              | 28 +++++++++++++++++++++++++
 lib/libc/gen/confstr.c        | 21 ++++++++++++++++++-
 lib/libc/gen/sysconf.c        | 49 ++++++++++++++++++++++++++++++++++++++++++-
 usr.bin/getconf/confstr.gperf | 13 ++++++++++++
 usr.bin/getconf/getconf.1     | 18 ++++++++--------
 usr.bin/getconf/progenv.gperf |  4 ++++
 usr.bin/getconf/sysconf.gperf |  4 ++++
 7 files changed, 126 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/84b31f2935bf3a2d5afc2cb85fdd1bd8eebfe648


-- 
DragonFly BSD source repository



More information about the Commits mailing list