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 5712f98211 check new json encoding 3 年之前
array small buffer optimization 5 年之前
buffer remove unnecessary x86intrin.h include 4 年之前
byte shut up new gcc 6 warnings 4 年之前
case switch to size_t and ssize_t 14 年之前
cdb test for pread and use it instead of lseek+read in cdb and io_mmapwritefile 4 年之前
critbit also install critbit.h 5 年之前
dns shut up new gcc 6 warnings 4 年之前
examples include <foo> -> include "foo" 4 年之前
fmt another gcc 6 warning fix 4 年之前
io some more eagain handling in tryread and trywrite 4 年之前
mmap instead of calling mmap with a size of 0 (which will fail), skip the 4 年之前
mult another gcc 6 warning fix 4 年之前
open get rid of more -Wconversion warnings 6 年之前
scan osx 4 年之前
socket add #include <string.h> for memset/strcpy 4 年之前
str shut up new gcc 6 warnings 4 年之前
stralloc shut up new gcc 6 warnings 4 年之前
tai get rid of more -Wconversion warnings 6 年之前
taia get rid of more -Wconversion warnings 6 年之前
test include <foo> -> include "foo" 4 年之前
textcode handle \n etc 3 年之前
uint remove compiler warnings 6 年之前
unix get rid of more -Wconversion warnings 6 年之前
.cvsignore test for pread and use it instead of lseek+read in cdb and io_mmapwritefile 4 年之前
CAS.h fix compile error 7 年之前
CHANGES remove OpenBSD #warning (obsd maintainer says no longer needed) 4 年之前
COPYING Initial revision 20 年之前
GNUmakefile make dep fix 4 年之前
Makefile make dep fix 4 年之前
README mention my email address 18 年之前
TODO fix for NetBSD 3.0 (they broke their sys/types.h) 14 年之前
array.h make headers work in C++ 9 年之前
buffer.h small buffer optimization 5 年之前
byte.h define UNALIGNED_ACCESS_OK on x86 7 年之前
case.h make headers work in C++ 9 年之前
cdb.h make headers work in C++ 9 年之前
cdb_make.h make headers work in C++ 9 年之前
compiletimeassert.h add compiletimeassert.h 8 年之前
critbit.h make critbit0_contains as pure 5 年之前
dns.h get rid of more -Wconversion warnings 6 年之前
ent.c fix operator precedence 5 年之前
entities.json $ make WERROR=-Werror now builds with -Werror 6 年之前
errmsg.h make headers work in C++ 9 年之前
errmsg_int.h add errmsg_int.h 15 年之前
fmt.h add marshaling code for protocol buffers 5 年之前
iarray.h fix and document iarray 6 年之前
io.h hopefully fix the infinite loop in gatling 6 年之前
io_internal.h add deferral code 4 年之前
iob.h make headers work in C++ 9 年之前
iob_internal.h use callback based infrastructure to reset iob's 13 年之前
iopause.h1 for installed header files, add comment saying where they came from 10 年之前
iopause.h2 for installed header files, add comment saying where they came from 10 年之前
ip4.h get rid of more -Wconversion warnings 6 年之前
ip6.h get rid of more -Wconversion warnings 6 年之前
isset.h add awesome hack in isset.h (comex, Linus Torvalds) 8 年之前
likely.h add iarray 12 年之前
mmap.h add mmap_readat 4 年之前
ndelay.h make headers work in C++ 9 年之前
open.h make headers work in C++ 9 年之前
openreadclose.h make headers work in C++ 9 年之前
rangecheck.h add gcc 5 integer overflow intrinsics support to rangecheck.h 5 年之前
readclose.h get rid of more -Wconversion warnings 6 年之前
safemult.h use static inline instead of extern inline 5 年之前
scan.h add marshaling code for protocol buffers 5 年之前
select.h1 monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 18 年之前
select.h2 more BSD compat 17 年之前
socket.h add socket_udp4b and socket_udp6b 5 年之前
str.h make headers work in C++ 9 年之前
stralloc.h more constness for stralloc and buffer 6 年之前
t.c check new json encoding 3 年之前
tai.h make headers work in C++ 9 年之前
taia.h make headers work in C++ 9 年之前
textcode.h add base64url support (forgot header) 4 年之前
tryalloca.c $ make WERROR=-Werror now builds with -Werror 6 年之前
trybsdsf.c $ make WERROR=-Werror now builds with -Werror 6 年之前
trydevpoll.c broken lose32 port using mingw (don't use!!!) 17 年之前
tryepoll.c $ make WERROR=-Werror now builds with -Werror 6 年之前
tryinline.c work around compilers that don't understand "static inline" 19 年之前
tryip6.c $ make WERROR=-Werror now builds with -Werror 6 年之前
trykqueue.c add epoll and kqueue tests 17 年之前
tryn2i.c $ make WERROR=-Werror now builds with -Werror 6 年之前
trypoll.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 18 年之前
trypread.c add pread test 4 年之前
tryscope.c $ make WERROR=-Werror now builds with -Werror 6 年之前
trysendfile.c $ make WERROR=-Werror now builds with -Werror 6 年之前
trysigio.c $ make WERROR=-Werror now builds with -Werror 6 年之前
trysl.c $ make WERROR=-Werror now builds with -Werror 6 年之前
trysocket.c $ make WERROR=-Werror now builds with -Werror 6 年之前
trysysel.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 18 年之前
tryuint128.c add tryuing128.c and ignore haveuint128.h 7 年之前
uint16.h make headers work in C++ 9 年之前
uint32.h make headers work in C++ 9 年之前
uint64.h make headers work in C++ 9 年之前
va_narg.h for installed header files, add comment saying where they came from 10 年之前
windoze.h fix some bugs that cppcheck found 6 年之前

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