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 f8f40a544a now that gcc 11's static analyzer looks at array bounds in arguments 3 月之前
array half-hearted improvements to Windows compilability 2 年之前
buffer add buffer_init_allocbuf, buffer_init_read, buffer_init_write, buffer_init_read_allocbuf, buffer_init_write_allocbuf 7 月之前
byte add byte_start, byte_starts 9 月之前
case #include <foo.h> -> #include <libowfat/foo.h> 4 年之前
cdb forward changes made in prototypes to actual implementation 8 月之前
critbit #include <foo.h> -> #include <libowfat/foo.h> 4 年之前
dns use write in buffer_put for a slight perf improvement 3 年之前
examples include <foo> -> include "foo" 5 年之前
fmt you need to #include <stdlib.h> 8 月之前
io next attempt (I need a bsd shell) 3 月之前
mmap correct file open mode for mmap_private man page 8 月之前
mult move unit tests into each file (compile with -DUNITTEST) 4 年之前
open more cross references for open_* 8 月之前
scan add "make check" target and make it work :) 9 月之前
socket now that gcc 11's static analyzer looks at array bounds in arguments 3 月之前
str add unit test 3 年之前
stralloc #include <foo.h> -> #include <libowfat/foo.h> 4 年之前
tai #include <foo.h> -> #include <libowfat/foo.h> 4 年之前
taia #include <foo.h> -> #include <libowfat/foo.h> 4 年之前
test add libowfat/ to includes 2 年之前
textcode also escape negative chars (we are in utf-8 land now, no longer latin1) 3 月之前
uint #include <foo.h> -> #include <libowfat/foo.h> 4 年之前
unix use write in buffer_put for a slight perf improvement 3 年之前
.cvsignore fix deps 3 月之前
CAS.h remove a few compiler warnings 4 年之前
CHANGES add buffer_init_allocbuf, buffer_init_read, buffer_init_write, buffer_init_read_allocbuf, buffer_init_write_allocbuf 7 月之前
COPYING Initial revision 21 年之前
GNUmakefile fix deps 3 月之前
Makefile fix deps 3 月之前
README mention my email address 19 年之前
TODO mention sendmsg issue 3 月之前
array.h add compiler.h to abstract gcc attributes 9 月之前
buffer.h add buffer_init_allocbuf, buffer_init_read, buffer_init_write, buffer_init_read_allocbuf, buffer_init_write_allocbuf 7 月之前
byte.h add compiler.h to abstract gcc attributes 9 月之前
case.h add compiler.h to abstract gcc attributes 9 月之前
cdb.h add compiler.h to abstract gcc attributes 9 月之前
cdb_make.h add compiler.h to abstract gcc attributes 9 月之前
compiler.h add compiler.h to abstract gcc attributes 9 月之前
compiletimeassert.h add compiler.h to abstract gcc attributes 9 月之前
critbit.h add compiler.h to abstract gcc attributes 9 月之前
dns.h now that gcc 11's static analyzer looks at array bounds in arguments 3 月之前
ent.c fix two complaints by clang's static analyzer 1 年之前
entities.json $ make WERROR=-Werror now builds with -Werror 7 年之前
errmsg.h make headers work in C++ 10 年之前
errmsg_int.h add errmsg_int.h 16 年之前
fmt.h add fmt_strm_malloc 8 月之前
iarray.h add compiler.h to abstract gcc attributes 9 月之前
io.h some crude attempt to fix mingw cross build 3 月之前
io_internal.h some crude attempt to fix mingw cross build 3 月之前
iob.h add compiler.h to abstract gcc attributes 9 月之前
iob_internal.h use callback based infrastructure to reset iob's 14 年之前
iopause.h1 for installed header files, add comment saying where they came from 11 年之前
iopause.h2 for installed header files, add comment saying where they came from 11 年之前
ip4.h now that gcc 11's static analyzer looks at array bounds in arguments 3 月之前
ip6.h now that gcc 11's static analyzer looks at array bounds in arguments 3 月之前
isset.h remove a few compiler warnings 4 年之前
likely.h add iarray 13 年之前
mmap.h mmap_private opens the file for reading, not for writing 8 月之前
ndelay.h make headers work in C++ 10 年之前
open.h add compiler.h to abstract gcc attributes 9 月之前
openreadclose.h add compiler.h to abstract gcc attributes 9 月之前
parse.h add compiler.h to abstract gcc attributes 9 月之前
rangecheck.h add compiler.h to abstract gcc attributes 9 月之前
readclose.h get rid of more -Wconversion warnings 7 年之前
safemult.h add compiler.h to abstract gcc attributes 9 月之前
scan.h add compiler.h to abstract gcc attributes 9 月之前
select.h1 monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 19 年之前
select.h2 more BSD compat 18 年之前
socket.h now that gcc 11's static analyzer looks at array bounds in arguments 3 月之前
str.h add compiler.h to abstract gcc attributes 9 月之前
stralloc.h add compiler.h to abstract gcc attributes 9 月之前
t.c less compiler warnings 3 月之前
tai.h add compiler.h to abstract gcc attributes 9 月之前
taia.h add compiler.h to abstract gcc attributes 9 月之前
textcode.h add compiler.h to abstract gcc attributes 9 月之前
tryaccept4.c OSX does not have accept4 :( 3 月之前
tryalloca.c $ make WERROR=-Werror now builds with -Werror 7 年之前
trybsdsf.c $ make WERROR=-Werror now builds with -Werror 7 年之前
trydevpoll.c broken lose32 port using mingw (don't use!!!) 18 年之前
tryepoll.c $ make WERROR=-Werror now builds with -Werror 7 年之前
tryinline.c work around compilers that don't understand "static inline" 20 年之前
tryip6.c $ make WERROR=-Werror now builds with -Werror 7 年之前
trykqueue.c add epoll and kqueue tests 18 年之前
tryn2i.c $ make WERROR=-Werror now builds with -Werror 7 年之前
trypoll.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 19 年之前
trypread.c add pread test 5 年之前
tryscope.c $ make WERROR=-Werror now builds with -Werror 7 年之前
trysendfile.c $ make WERROR=-Werror now builds with -Werror 7 年之前
trysigio.c $ make WERROR=-Werror now builds with -Werror 7 年之前
trysl.c $ make WERROR=-Werror now builds with -Werror 7 年之前
trysocket.c $ make WERROR=-Werror now builds with -Werror 7 年之前
trysysel.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 19 年之前
tryuint128.c add tryuing128.c and ignore haveuint128.h 8 年之前
uint16.h add fmt and scan versions of uint* 1 年之前
uint32.h add fmt and scan versions of uint* 1 年之前
uint64.h add fmt and scan versions of uint* 1 年之前
va_narg.h for installed header files, add comment saying where they came from 11 年之前
windoze.h fix some bugs that cppcheck found 7 年之前

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