📦 libowfat-doc
404 pages · page 1 of 3
A
- add_of(3)add two integers, check for arithmetic overflow✨
- array(3)The array library interface✨
- array_allocate(3)make sure array has at least n elements allocated✨
- array_bytes(3)get number of allocated members in array✨
- array_cat(3)append one array to another✨
- array_cat0(3)append 0 byte to an array✨
- array_catb(3)append bytes to an array✨
- array_cate(3)append subset of one array to another array✨
- array_cats(3)append C string to an array✨
- array_cats0(3)append C string to an array✨
- array_equal(3)compare two arrays for equality✨
- array_fail(3)switch array to have failed✨
- array_get(3)get pointer to nth element in array✨
- array_length(3)get number of allocated members in array✨
- array_reset(3)deallocate array✨
- array_start(3)get pointer to first element in array✨
- array_trunc(3)reduce number of initialized bytes✨
- array_truncate(3)reduce number of initialized bytes✨
- assign(3)assign an integer value, check for truncation✨
B
- bs_capacityassert(3)assert that there are least n bytes left in the stream✨
- buffer_close(3)close buffer✨
- buffer_feed(3)low-level component of buffer_get✨
- buffer_flush(3)feed buffer to write function✨
- buffer_fromarray(3)initialize buffer structure from array✨
- buffer_frombuf(3)initialize buffer structure from raw memory✨
- buffer_fromsa(3)initialize buffer structure from stralloc✨
- buffer_get(3)read binary data from buffer✨
- buffer_get_new_token_sa(3)read token from buffer✨
- buffer_get_new_token_sa_pred(3)read token from buffer✨
- buffer_get_token(3)read token from buffer✨
- buffer_get_token_pred(3)read token from buffer✨
- buffer_get_token_sa(3)read token from buffer✨
- buffer_get_token_sa_pred(3)read token from buffer✨
- buffer_getc(3)read one char from buffer✨
- buffer_getline(3)read line from buffer✨
- buffer_getline_sa(3)read line from buffer✨
- buffer_getn(3)read binary data from buffer✨
- buffer_getnewline_sa(3)read line from buffer✨
- buffer_init(3)initialize buffer structure✨
- buffer_init_free(3)initialize buffer structure✨
- buffer_mmapread(3)create read-only memory-mapped file buffer✨
- buffer_peek(3)return pointer to string in buffer✨
- buffer_peekc(3)read one char from buffer✨
- buffer_put(3)write binary data to buffer✨
- buffer_put8long(3)write an octal ASCII representation of an unsigned long integer to buffer✨
- buffer_putalign(3)write binary data to buffer✨
- buffer_puterror(3)write error string to buffer and flush✨
- buffer_puterror2(3)write error string to buffer and flush✨
- buffer_putflush(3)write binary data to buffer and flush✨
- buffer_putlong(3)write a decimal ASCII representation of a signed long integer to buffer✨
- buffer_putlonglong(3)write a decimal ASCII representation of a signed long integer to buffer✨
- buffer_putm(3)write ASCIIZ string(s) to buffer✨
- buffer_putnlflush(3)write '\n' to buffer and flush✨
- buffer_puts(3)write ASCIIZ string to buffer✨
- buffer_putsa(3)write stralloc to buffer✨
- buffer_putsaflush(3)write stralloc to buffer and flush✨
- buffer_putsalign(3)write ASCIIZ string to buffer✨
- buffer_putsflush(3)write ASCIIZ string to buffer and flush✨
- buffer_putspace(3)write ASCII space to buffer✨
- buffer_putulong(3)write a decimal ASCII representation of an unsigned long integer to buffer✨
- buffer_putulonglong(3)write a decimal ASCII representation of a signed long integer to buffer✨
- buffer_putxlong(3)write a hexidecimal ASCII representation of an unsigned long integer to buffer✨
- buffer_seek(3)remove bytes from beginning of string in buffer✨
- buffer_tosa(3)initialize buffer for writing to stralloc✨
- byte_chr(3)search for a byte in a string✨
- byte_copy(3)copy a string✨
- byte_copyr(3)copy a string✨
- byte_diff(3)compare two strings✨
- byte_equal(3)compare two strings✨
- byte_equal_notimingattack(3)compare two strings✨
- byte_rchr(3)search for a byte in a string✨
- byte_start(3)find out if string b is prefix of string a✨
- byte_starts(3)find out if a buffer starts with a string✨
- byte_zero(3)initialize a string✨
C
- carp(3)print warning diagnostic✨
- carpsys(3)print warning diagnostic✨
- case_diffb(3)compare strings case-insensitively✨
- case_diffs(3)compare strings case-insensitively✨
- case_lowerb(3)compare strings case-insensitively✨
- case_lowers(3)compare strings case-insensitively✨
- case_starts(3)compare prefixes of strings case-insensitively✨
- cdb_datalen(3)get length of data✨
- cdb_datapos(3)get position of data✨
- cdb_find(3)look up a key in a constant database✨
- cdb_firstkey(3)find first physical record in constant database✨
- cdb_free(3)close a constant databased✨
- cdb_init(3)open a constant database✨
- cdb_keylen(3)get length of key✨
- cdb_keypos(3)get position of key✨
- cdb_nextkey(3)find next physical record in constant database✨
- cdb_read(3)read bytes from a constant database✨
- cdb_successor(3)find next record✨
- critbit0_allprefixed(3)search a critbit tree by prefix✨
- critbit0_clear(3)free all memory associated with a critbit tree✨
- critbit0_contains(3)check whether a string is in the critbit tree✨
- critbit0_delete(3)delete a string from a critbit tree✨
- critbit0_insert(3)insert a string into a critbit tree✨
D
- die(3)print warning diagnostic and abort program✨
- diesys(3)print warning diagnostic and abort program✨
- dns_ip4(3)look up IPv4 addresses✨
- dns_ip4_packet(3)extract IPv4 address from DNS answer packet✨
- dns_ip4_qualify(3)qualify name and look up IPv4 addresses✨
- dns_ip6(3)look up IPv6 addresses✨
- dns_ip6_packet(3)extract IPv6 address from DNS answer packet✨
- dns_ip6_qualify(3)qualify name and look up IPv6 addresses✨
- dns_mx(3)look up Mail eXchanger✨
- dns_mx_packet(3)extract MX records from DNS answer packet✨
- dns_name4(3)look up host name✨
- dns_name4_domain(3)construct host name for reverse lookup✨
- dns_name6(3)look up host name✨
- dns_name6_domain(3)construct host name for reverse lookup✨
- dns_name_packet(3)extract names from DNS answer packet✨
- dns_txt(3)look up TXT records✨
- dns_txt_packet(3)extract TXT records from DNS answer packet✨
E
- errmsg_iam(3)tell errmsg library the name of the program✨
F
- fmt_8long(3)write an octal ASCII representation of an unsigned long integer✨
- fmt_asn1derlength(3)encode unsigned integer like ASN.1 DER length✨
- fmt_asn1dertag(3)encode unsigned integer like ASN.1 DER tag✨
- fmt_copybytes(3)write binary data✨
- fmt_copybytes_sizeof_minus1(3)write binary data✨
- fmt_double(3)write an ASCII representation of a double✨
- fmt_fill(3)append spaces to a string✨
- fmt_httpdate(3)write a date in ASCII as in the HTTP protocol✨
- fmt_human(3)write a human readable ASCII representation of a long integer✨
- fmt_humank(3)write a human readable ASCII representation of a long integer✨
- fmt_ip4(3)write a formatted ASCII representation of an IPv4 number✨
- fmt_ip6(3)write a formatted ASCII representation of an IPv6 number✨
- fmt_ip6_flat(3)write a formatted ASCII representation of an IPv6 number✨
- fmt_ip6c(3)write a formatted ASCII representation of an IPv6 number✨
- fmt_ip6if(3)write a formatted ASCII representation of an IPv6 number✨
- fmt_ip6ifc(3)write a formatted ASCII representation of an IPv6 number✨
- fmt_iso8601(3)write a date in ASCII conforming to ISO-8601✨
- fmt_long(3)write an ASCII representation of a long integer✨
- fmt_longlong(3)write an ASCII representation of a long long integer✨
- fmt_minus(3)write '-' for negative integers✨
- fmt_netstring(3)convert a memory buffer into a netstring✨
- fmt_pad(3)pad a string with spaces.✨
- fmt_plusminus(3)write '+' or '-'✨
- fmt_str(3)write an ASCII string✨
- fmt_strm(3)write multiple ASCII strings✨
- fmt_strm_alloca(3)write multiple ASCII strings✨
- fmt_strm_malloc(3)write multiple ASCII strings✨
- fmt_strn(3)write an ASCII string✨
- fmt_uint(3)write an ASCII representation of an unsigned integer✨
- fmt_uint0(3)write a zero-padded ASCII representation of an unsigned integer✨
- fmt_ulong(3)write an ASCII representation of an unsigned long integer✨
- fmt_ulong0(3)write a zero-padded ASCII representation of an unsigned long integer✨
- fmt_ulonglong(3)write an ASCII representation of an unsigned long long integer✨
- fmt_utf8(3)encode 31-bit unsigned integer using UTF-8 rules✨
- fmt_xlong(3)write a hexadecimal ASCII representation of an unsigned long integer✨
- fmt_xlonglong(3)write a hexadecimal ASCII representation of an unsigned long long integer✨
I
- iarray_allocate(3)get pointer to nth element in iarray✨
- iarray_free(3)free iarray data structure✨
- iarray_get(3)get pointer to nth element in iarray✨
- iarray_init(3)initialize iarray data structure✨
- imult16(3)integer multiplication with overflow checking✨
- imult32(3)integer multiplication with overflow checking✨
- imult64(3)integer multiplication with overflow checking✨
- io_appendfile(3)open a file for appending✨
- io_block(3)switch to blocking I/O✨
- io_canread(3)return a file descriptor that can be read from✨
- io_canwrite(3)return a file descriptor that can be written to✨
- io_check(3)check for new readable or writable descriptors✨
- io_close(3)close a file descriptor✨
- io_closeonexec(3)mark a file descriptor non-inheritable✨
- io_createfile(3)create a file✨
- io_dontwantread(3)signal that you do not want to read from a descriptor✨
- io_dontwantwrite(3)signal that you do not want to write to a descriptor✨
- io_eagain(3)tell io_wait that you got an EAGAIN✨
- io_fd(3)prepare descriptor for io_wait✨
- io_fd_canwrite(3)prepare descriptor for io_wait✨
- io_fd_flags(3)prepare descriptor for io_wait✨
- io_finishandshutdown(3)deallocate internal data structures✨
- io_getcookie(3)retrieve cookie✨
- io_nonblock(3)switch to non-blocking I/O✨
- io_passfd(3)pass a file descriptor over a Unix Domain socket✨
- io_pipe(3)create a Unix pipe✨
- io_readfile(3)open a file for reading✨
- io_readwritefile(3)open a file for reading and writing✨
- io_receivefd(3)receive a file descriptor over a Unix Domain socket✨
- io_sendfile(3)send data from a file to a socket✨
- io_setcookie(3)associate cookie with descriptor✨
- io_socketpair(3)create a pair of sockets✨
- io_timeout(3)set time limit on descriptor✨
- io_timeouted(3)return a file descriptor over deadline✨
- io_tryread(3)read from a descriptor without blocking✨
- io_tryreadtimeout(3)read from a descriptor without blocking✨
- io_trywrite(3)write to a descriptor without blocking✨
- io_trywritetimeout(3)write to a descriptor without blocking✨
- io_wait(3)wait for events✨
- io_waitread(3)read from a descriptor✨
- io_waituntil(3)wait for events✨
- io_wantread(3)signal that you want to read from a descriptor✨
- io_wantwrite(3)signal that you want to write to a descriptor✨
- iob_addbuf(3)add buffer to I/O batch✨
- iob_addbuf_free(3)add buffer to I/O batch, with deallocation✨
- iob_addfile(3)add file region to I/O batch✨
- iob_addfile_close(3)add file region to I/O batch✨
- iob_adds(3)add buffer to I/O batch✨
- iob_adds_free(3)add buffer to I/O batch✨
💅
getting it ready, bestie…