Linux repositories inspector

libbsd-dev - utility functions from BSD systems - development files

This library provides some functions commonly available on BSD systems but not on others like GNU systems.
The currently provided functions are:
  • _time32_to_time, _time_to_time32, _time64_to_time, _time_to_time64, _time_to_long, _long_to_time, _time_to_int, _int_to_time.
  • TIMEVAL_TO_TIMESPEC, TIMESPEC_TO_TIMEVAL.
  • MD5Data, MD5End, MD5File, MD5FileChunk, MD5Final, MD5Init, MD5Pad, MD5Transform, MD5Update.
  • arc4random, arc4random_addrandom, arc4random_buf, arc4random_stir, arc4random_uniform.
  • bsd_getopt.
  • be16dec, be32dec, be64dec, le16dec, le32dec, le64dec.
  • be16enc, be32enc, be64enc, le16enc, le32enc, le64enc.
  • bit_alloc, bit_decl, bit_clear, bit_ffc, bit_ffs, bit_nclear, bit_nset, bit_set, bitstr_size, bit_test.
  • closefrom.
  • expand_number, dehumanize_number, humanize_number.
  • explicit_bzero.
  • errc, verrc, vwarnc, warnc.
  • fmtcheck.
  • fgetln, fparseln, fgetwln, flopen, flopenat, fpurge, funopen.
  • getbsize.
  • getmode, setmode, strmode,
  • getpeereid.
  • getprogname, setprogname.
  • heapsort, radixsort, mergesort, sradixsort.
  • nlist (ELF and a.out support).
  • pidfile_open, ppidfile_filen, oidfile_write, pidfile_close, pidfile_remove.
  • readpassphrase.
  • reallocarray, reallocf.
  • setproctitle (initialized via libbsd-ctor or setproctitle_init).
  • sl_init, sl_add, sl_free, sl_find.
  • strlcpy, strlcat.
  • strnstr.
  • nvis, snvis, stravis, strenvisx, strnunvis, strnunvisx, strnvis, strsenvisx, strsnvis, strsnvisx, strsvis, strsvisx, strunvis, strunvisx, strvis, strvisx, svis, unvis, vis.
  • strtoi, strtonum, strtou.
  • timeradd, timersub, timerclear, timerisset, timercmp.
  • timespecadd, timespecsub, timespecclear, timespecisset, timespeccmp.
  • wcslcat, wcslcpy.
Also included are some queue macro definitions not present on includes from glibc.
0.10.0
Ubuntu iconUbuntu 19.10
Ubuntu iconUbuntu 20.04
0.9.1
Debian iconDebian 10.0
Ubuntu iconUbuntu 18.10
Ubuntu iconUbuntu 19.04
0.8.7
Ubuntu iconUbuntu 18.04 LTS
0.8.6
Ubuntu iconUbuntu 17.10
0.8.3
Debian iconDebian 9.0
0.8.2
Ubuntu iconUbuntu 16.04 LTS
DistributionVersionSincePackageInstalledPackager
Debian iconDebian 10.0 buster/maindeb0.9.1-22019-03-10213 kiB692 kiB
Debian iconDebian 9.0 stretch/maindeb0.8.3-12017-11-10174 kiB461 kiB
Ubuntu iconUbuntu 17.10 artful/maindeb0.8.6-12017-11-10146 kiB657 kiB
Ubuntu iconUbuntu 18.04 LTS bionic/maindeb0.8.7-12018-01-30147 kiB658 kiB
Ubuntu iconUbuntu 18.04 LTS bionic-security/maindeb0.8.7-1ubuntu0.12020-01-20147 kiB658 kiB
Ubuntu iconUbuntu 18.04 LTS bionic-updates/maindeb0.8.7-1ubuntu0.12020-01-20147 kiB658 kiB
Ubuntu iconUbuntu 18.10 cosmic/maindeb0.9.1-12019-01-14158 kiB692 kiB
Ubuntu iconUbuntu 19.04 disco/maindeb0.9.1-22019-03-10158 kiB692 kiB
Ubuntu iconUbuntu 19.04 disco-security/maindeb0.9.1-2ubuntu0.12020-01-20158 kiB692 kiB
Ubuntu iconUbuntu 19.04 disco-updates/maindeb0.9.1-2ubuntu0.12020-01-20158 kiB692 kiB
Ubuntu iconUbuntu 19.10 eoan/maindeb0.10.0-12019-08-09160 kiB713 kiB
Ubuntu iconUbuntu 20.04 focal/maindeb0.10.0-12020-01-07160 kiB713 kiB
Ubuntu iconUbuntu 16.04 LTS xenial/maindeb0.8.2-12017-11-10131 kiB460 kiB
Ubuntu iconUbuntu 16.04 LTS xenial-security/maindeb0.8.2-1ubuntu0.12020-01-20131 kiB460 kiB
Ubuntu iconUbuntu 16.04 LTS xenial-updates/maindeb0.8.2-1ubuntu0.12020-01-20131 kiB460 kiB

Manual pages

arc4random(3)

arc4random, arc4random_buf, arc4random_uniform, arc4random_stir, arc4random_addrandom - arc4 random number generator

bitstring(3)

bit_alloc, bit_clear, bit_decl, bit_ffs, bit_nclear, bit_nset, bit_set, bitstr_size, bit_test - bit-string manipulation macros

closefrom(3)

closefrom - delete open file descriptors

expand_number(3)

expand_number - format a number from human readable form

explicit_bzero(3)

explicit_bzero - write zeroes to a byte string

fgetln(3)

fgetln - get a line from a stream

fgetwln(3)

fgetwln - get a line of wide characters from a stream

flopen(3)

flopen - reliably open and lock a file

fmtcheck(3)

fmtcheck - sanitizes user-supplied printf 3 -style format string

fparseln(3)

fparseln - return the next logical line from a stream

getbsize(3)

getbsize - get preferred block size

getpeereid(3)

getpeereid - get the effective credentials of a UNIX-domain peer

getprogname(3)

getprogname, setprogname - get or set the program name

heapsort(3)

heapsort, mergesort - sort functions

humanize_number(3)

dehumanize_number, humanize_number - format a number into a human readable form and viceversa

nlist(3)

nlist - retrieve symbol table name list from an executable file

pidfile(3)

pidfile_open, pidfile_write, pidfile_close, pidfile_remove - library for PID files handling

radixsort(3)

radixsort, sradixsort - radix sort

readpassphrase(3)

readpassphrase - get a passphrase from the user

reallocarray(3)

reallocarray - memory allocation and deallocation

reallocf(3)

reallocf - general purpose memory allocation functions

setmode(3)

getmode, setmode - modify mode bits

setproctitle(3)

setproctitle - set process title

stringlist(3)

stringlist, sl_init, sl_add, sl_free, sl_find, sl_delete - stringlist manipulation functions

strlcpy(3)

strlcpy, strlcat - size-bounded string copying and concatenation

strmode(3)

strmode - convert inode status information into a symbolic string

strnstr(3)

strnstr - locate a substring in a string

strtonum(3)

strtonum - reliably convert string value to an integer

unvis(3)

unvis, strunvis, strnunvis - decode a visual representation of characters

vis(3)

vis, strvis, strnvis, strvisx - visually encode characters

wcslcpy(3)

wcslcat, wcslcpy, - wide character string manipulation operations

arc4random(3bsd)

arc4random, arc4random_buf, arc4random_uniform, arc4random_stir, arc4random_addrandom - arc4 random number generator

bitstring(3bsd)

bit_alloc, bit_clear, bit_decl, bit_ffs, bit_nclear, bit_nset, bit_set, bitstr_size, bit_test - bit-string manipulation macros

byteorder(3bsd)

be16enc, be16dec, be32enc, be32dec, be64enc, be64dec, le16enc, le16dec, le32enc, le32dec, le64enc, le64dec - byte order operations

closefrom(3bsd)

closefrom - delete open file descriptors

errc(3bsd)

errc, verrc, warnc, vwarnc - formatted error messages

expand_number(3bsd)

expand_number - format a number from human readable form

explicit_bzero(3bsd)

explicit_bzero - write zeroes to a byte string

fgetln(3bsd)

fgetln - get a line from a stream

fgetwln(3bsd)

fgetwln - get a line of wide characters from a stream

flopen(3bsd)

flopen, flopenat - Reliably open and lock a file

fmtcheck(3bsd)

fmtcheck - sanitizes user-supplied printf(3)-style format string

fparseln(3bsd)

fparseln - return the next logical line from a stream

fpurge(3bsd)

fpurge - flush a stream

funopen(3bsd)

funopen, fropen, fwopen - open a stream

getbsize(3bsd)

getbsize - get preferred block size

getpeereid(3bsd)

getpeereid - get the effective credentials of a UNIX-domain peer

getprogname(3bsd)

getprogname, setprogname - get or set the program name

heapsort(3bsd)

heapsort, mergesort - sort functions

humanize_number(3bsd)

dehumanize_number, humanize_number - format a number into a human readable form and viceversa

md5(3bsd)

MD5Init, MD5Update, MD5Pad, MD5Final, MD5Transform, MD5End, MD5File, MD5FileChunk, MD5Data - calculate the RSA Data Security, Inc., ‘‘MD5’’ message digest

nlist(3bsd)

nlist - retrieve symbol table name list from an executable file

pidfile(3bsd)

pidfile_open, pidfile_write, pidfile_close, pidfile_remove, pidfile_fileno - library for PID files handling

radixsort(3bsd)

radixsort, sradixsort - radix sort

readpassphrase(3bsd)

readpassphrase - get a passphrase from the user

reallocarray(3bsd)

reallocarray - memory allocation and deallocation

reallocf(3bsd)

reallocf - general purpose memory allocation functions

setmode(3bsd)

getmode, setmode - modify mode bits

setproctitle(3bsd)

setproctitle - set process title

stringlist(3bsd)

stringlist, sl_init, sl_add, sl_free, sl_find, sl_delete - stringlist manipulation functions

strlcpy(3bsd)

strlcpy, strlcat - size-bounded string copying and concatenation

strmode(3bsd)

strmode - convert inode status information into a symbolic string

strnstr(3bsd)

strnstr - locate a substring in a string

strtoi(3bsd)

strtoi - convert string value to an intmax_t integer

strtonum(3bsd)

strtonum - reliably convert string value to an integer

strtou(3bsd)

strtou - convert a string to an uintmax_t integer

timeradd(3bsd)

timeradd, timersub, timerclear, timerisset, timercmp, timespecadd, timespecsub, timespecclear, timespecisset, timespeccmp - operations on time structure

timeval(3bsd)

timeval, timespec - time structures

unvis(3bsd)

unvis, strunvis, strnunvis, strunvisx, strnunvisx - decode a visual representation of characters

vis(3bsd)

vis, nvis, strvis, stravis, strnvis, strvisx, strnvisx, strenvisx, svis, snvis, strsvis, strsnvis, strsvisx, strsnvisx, strsenvisx - visually encode characters

wcslcpy(3bsd)

wcslcat, wcslcpy, - wide character string manipulation operations

libbsd(7)

libbsd - utility functions from BSD systems

Latest updates

Ubuntu icon

Ubuntu 16.04 LTS xenial-updates/main: Version 0.8.2-1ubuntu0.1 introduced

2020-01-20
Ubuntu icon

Ubuntu 18.04 LTS bionic-updates/main: Version 0.8.7-1ubuntu0.1 introduced

2020-01-20
Ubuntu icon

Ubuntu 19.04 disco-updates/main: Version 0.9.1-2ubuntu0.1 introduced

2020-01-20
Ubuntu icon

Ubuntu 19.04 disco-security/main: Version 0.9.1-2ubuntu0.1 introduced

2020-01-20
Ubuntu icon

Ubuntu 18.04 LTS bionic-security/main: Version 0.8.7-1ubuntu0.1 introduced

2020-01-20
Ubuntu icon

Ubuntu 16.04 LTS xenial-security/main: Version 0.8.2-1ubuntu0.1 introduced

2020-01-20
Ubuntu icon

Ubuntu 20.04 focal/main: Version 0.10.0-1 introduced

2020-01-07
Ubuntu icon

Ubuntu 19.10 eoan/main: Version 0.10.0-1 reintroduced

2019-08-19
Ubuntu icon

Ubuntu 19.10 eoan/main: Version 0.10.0-1 removed

2019-08-19
Ubuntu icon

Ubuntu 19.10 eoan/main: Version 0.10.0-1 reintroduced

2019-08-14
Ubuntu icon

Ubuntu 19.10 eoan/main: Version 0.10.0-1 removed

2019-08-14
Ubuntu icon

Ubuntu 19.10 eoan-proposed/main: Version 0.10.0-1 removed

2019-08-09
Ubuntu icon

Ubuntu 19.10 eoan/main: Updated from 0.9.1-2 to 0.10.0-1

2019-08-09
Ubuntu icon

Ubuntu 19.10 eoan-proposed/main: Version 0.10.0-1 introduced

2019-08-09
Ubuntu icon

Ubuntu 19.10 eoan/main: Version 0.9.1-2 reintroduced

2019-08-02
Ubuntu icon

Ubuntu 19.10 eoan/main: Version 0.9.1-2 removed

2019-08-01
Ubuntu icon

Ubuntu 19.10 eoan/main: Version 0.9.1-2 introduced

2019-06-17
Debian icon

Debian 10.0 buster/main: Updated from 0.9.1-1 to 0.9.1-2

2019-03-10
  • Perform a proper and correct /usr-merge transition by moving the package contents from / to /usr.
  • Now using Standards-Version 4.3.0 (no changes needed).
  • Remove support for old debug symbol package migration.
  • Add a Build-Depends-Package field to the symbols file.
Ubuntu icon

Ubuntu 19.04 disco-proposed/main: Version 0.9.1-2 removed

2019-03-10
Ubuntu icon

Ubuntu 19.04 disco/main: Updated from 0.9.1-1 to 0.9.1-2

2019-03-10

Related packages

libbsd - Provides useful functions commonly found on BSD systems like strlcpy()
⇧ Top