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

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