document adding io_block

add rangecheck install target to GNUmakefile
cosmetics in rangecheck.h
master
leitner 19 years ago
parent d468ea9eb7
commit 3c291ea2a8

@ -11,6 +11,7 @@
add taia_half add taia_half
add cdb add cdb
add rangecheck.h add rangecheck.h
add io_block
0.24: 0.24:
fix scan_to_sa (Tim Lorenz) fix scan_to_sa (Tim Lorenz)

@ -159,7 +159,7 @@ dep libsocket havealloca.h
INCLUDES=buffer.h byte.h fmt.h ip4.h ip6.h mmap.h scan.h socket.h str.h stralloc.h \ INCLUDES=buffer.h byte.h fmt.h ip4.h ip6.h mmap.h scan.h socket.h str.h stralloc.h \
uint16.h uint32.h uint64.h open.h textcode.h tai.h taia.h dns.h iopause.h case.h \ uint16.h uint32.h uint64.h open.h textcode.h tai.h taia.h dns.h iopause.h case.h \
openreadclose.h readclose.h ndelay.h array.h io.h safemult.h iob.h havealloca.h \ openreadclose.h readclose.h ndelay.h array.h io.h safemult.h iob.h havealloca.h \
errmsg.h cdb.h cdb_make.h errmsg.h cdb.h cdb_make.h rangecheck.h
install: libowfat.a install: libowfat.a
install -d $(INCLUDEDIR) $(MAN3DIR) $(LIBDIR) install -d $(INCLUDEDIR) $(MAN3DIR) $(LIBDIR)

@ -48,7 +48,7 @@ __static inline int range_bufinbuf(const void* buf1,size_t len1,const void* buf2
/* does an array of "elements" members of size "membersize" starting at /* does an array of "elements" members of size "membersize" starting at
* "arraystart" lie inside buf1[0..len-1]? */ * "arraystart" lie inside buf1[0..len-1]? */
int range_arrayinbuf(const void* buf1,size_t len, int range_arrayinbuf(const void* buf,size_t len,
const void* arraystart,size_t elements,size_t membersize); const void* arraystart,size_t elements,size_t membersize);
/* does an ASCIIZ string starting at "ptr" lie in buf[0..len-1]? */ /* does an ASCIIZ string starting at "ptr" lie in buf[0..len-1]? */

Loading…
Cancel
Save