Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix von Leitner c0b851da69 try to work with gcc 8.3, too 1 month ago
array half-hearted improvements to Windows compilability 1 year ago
buffer use write in buffer_put for a slight perf improvement 2 years ago
byte #include <foo.h> -> #include <libowfat/foo.h> 3 years ago
case #include <foo.h> -> #include <libowfat/foo.h> 3 years ago
cdb #include <foo.h> -> #include <libowfat/foo.h> 3 years ago
critbit #include <foo.h> -> #include <libowfat/foo.h> 3 years ago
dns use write in buffer_put for a slight perf improvement 2 years ago
examples include <foo> -> include "foo" 4 years ago
fmt half-hearted improvements to Windows compilability 1 year ago
io some old glibc may define MSG_ZEROCOPY but not SO_ZEROCOPY :-( 2 months ago
mmap make mmap_private on Windows work on read-only files, too 1 year ago
mult move unit tests into each file (compile with -DUNITTEST) 3 years ago
open #include <foo.h> -> #include <libowfat/foo.h> 3 years ago
scan support gcc 10's access attribute when compiling with dietlibc 2 months ago
socket less warnings 1 year ago
str add unit test 1 year ago
stralloc #include <foo.h> -> #include <libowfat/foo.h> 3 years ago
tai #include <foo.h> -> #include <libowfat/foo.h> 3 years ago
taia #include <foo.h> -> #include <libowfat/foo.h> 3 years ago
test add libowfat/ to includes 1 year ago
textcode be less restrictive (RFC says NUL CR and LF need to be escaped) 1 year ago
uint #include <foo.h> -> #include <libowfat/foo.h> 3 years ago
unix use write in buffer_put for a slight perf improvement 2 years ago
.cvsignore put includes into <libowfat/*.h> 3 years ago
CAS.h remove a few compiler warnings 3 years ago
CHANGES version bump 1 year ago
COPYING Initial revision 19 years ago
GNUmakefile half-hearted Windows compilability improvements 1 year ago
Makefile half-hearted Windows compilability improvements 1 year ago
README mention my email address 17 years ago
TODO fix for NetBSD 3.0 (they broke their sys/types.h) 14 years ago
array.h make headers work in C++ 8 years ago
buffer.h the glibc case of the new __writememsz__ and friends macros broke 2 months ago
byte.h support gcc 10's access attribute when compiling with dietlibc 2 months ago
case.h make headers work in C++ 8 years ago
cdb.h make headers work in C++ 8 years ago
cdb_make.h make headers work in C++ 8 years ago
compiletimeassert.h try to work with gcc 8.3, too 1 month ago
critbit.h make critbit0_contains as pure 5 years ago
dns.h get rid of more -Wconversion warnings 6 years ago
ent.c zero-terminate utf8 strings in ent 2 years ago
entities.json $ make WERROR=-Werror now builds with -Werror 6 years ago
errmsg.h make headers work in C++ 8 years ago
errmsg_int.h add errmsg_int.h 14 years ago
fmt.h half-hearted Windows compilability improvements 1 year ago
iarray.h half-hearted Windows compilability improvements 1 year ago
io.h BSD build fix (hopefully) 1 year ago
io_internal.h BSD build fix (hopefully) 1 year ago
iob.h BSD build fix (hopefully) 1 year ago
iob_internal.h use callback based infrastructure to reset iob's 12 years ago
iopause.h1 for installed header files, add comment saying where they came from 10 years ago
iopause.h2 for installed header files, add comment saying where they came from 10 years ago
ip4.h get rid of more -Wconversion warnings 6 years ago
ip6.h get rid of more -Wconversion warnings 6 years ago
isset.h remove a few compiler warnings 3 years ago
likely.h add iarray 11 years ago
mmap.h add mmap_readat 3 years ago
ndelay.h make headers work in C++ 8 years ago
open.h make headers work in C++ 8 years ago
openreadclose.h make headers work in C++ 8 years ago
rangecheck.h half-hearted Windows compilability improvements 1 year ago
readclose.h get rid of more -Wconversion warnings 6 years ago
safemult.h remove a few compiler warnings 3 years ago
scan.h support gcc 10's access attribute when compiling with dietlibc 2 months ago
select.h1 monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 17 years ago
select.h2 more BSD compat 16 years ago
socket.h add socket_udp4b and socket_udp6b 4 years ago
str.h make headers work in C++ 8 years ago
stralloc.h support gcc 10's access attribute when compiling with dietlibc 2 months ago
t.c remove failing assert that failed build 1 month ago
tai.h make headers work in C++ 8 years ago
taia.h make headers work in C++ 8 years ago
textcode.h support gcc 10's access attribute when compiling with dietlibc 2 months ago
tryalloca.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trybsdsf.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trydevpoll.c broken lose32 port using mingw (don't use!!!) 16 years ago
tryepoll.c $ make WERROR=-Werror now builds with -Werror 6 years ago
tryinline.c work around compilers that don't understand "static inline" 18 years ago
tryip6.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trykqueue.c add epoll and kqueue tests 16 years ago
tryn2i.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trypoll.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 17 years ago
trypread.c add pread test 4 years ago
tryscope.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trysendfile.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trysigio.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trysl.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trysocket.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trysysel.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 17 years ago
tryuint128.c add tryuing128.c and ignore haveuint128.h 6 years ago
uint16.h support __builtin_swap16 and __builtin_swap32 2 years ago
uint32.h support __builtin_swap16 and __builtin_swap32 2 years ago
uint64.h make headers work in C++ 8 years ago
va_narg.h for installed header files, add comment saying where they came from 10 years ago
windoze.h fix some bugs that cppcheck found 6 years ago

README

libowfat is a library of general purpose APIs extracted from Dan
Bernstein's software, reimplemented and covered by the GNU General
Public License Version 2 (no later versions).

The API has been slightly extended (for example, I provide a uint32_read
function, and I extended the socket API to support IPv6) where I found
it necessary or beneficial in a specific project.

Many of the functions I implement here have since been placed in the
public domain, so there are other sources to get this code (except for
my extensions obviously). The implementations here may not be as
portable as the original versions; I tend to focus on the Single Unix
Specification and not on some obsolete legacy systems found in the
basements of some vintage hardware clubs.

I also provide man pages for many functions, mostly extracted from Dan's
web documentation or documentation found in earlier versions of his
software. For some reason, he abandoned man pages in favor of HTML
recently.

On July 4 2002, Dan also placed his DNS routines and supporting
low level functions in the public domain, so I copy them here instead of
reimplementing them. http://online.securityfocus.com/archive/1/280642
has an online version of the bugtraq posting.

The author can be reached under felix-libowfat@fefe.de