📦 publib-dev
150 pages
#
- __set_liberror(3pub)modify error handling for publib✨
B
- ba_and_ba(3pub)bit array manipulation✨
- ba_clear(3pub)bit array manipulation✨
- ba_clear_all(3pub)bit array manipulation✨
- ba_copy(3pub)bit array manipulation✨
- ba_create(3pub)bit array manipulation✨
- ba_destroy(3pub)bit array manipulation✨
- ba_not(3pub)bit array manipulation✨
- ba_or_ba(3pub)bit array manipulation✨
- ba_or_not_ba(3pub)bit array manipulation✨
- ba_query(3pub)bit array manipulation✨
- ba_resize(3pub)bit array manipulation✨
- ba_set(3pub)bit array manipulation✨
- ba_xor_ba(3pub)bit array manipulation✨
- bitarr(3pub)bit array manipulation✨
C
- cmp(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_char(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_chararr(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_charptr(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_double(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_float(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_int(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_long(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_long_double(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_schar(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_set_offset(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_short(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_struct(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_uchar(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_uint(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_ulong(3pub)comparison functions for qsort, bsearch, and others✨
- cmp_ushort(3pub)comparison functions for qsort, bsearch, and others✨
D
- dynarr(3pub)simple dynamic arrays✨
- dynarr_free(3pub)simple dynamic arrays✨
- dynarr_init(3pub)simple dynamic arrays✨
- dynarr_resize(3pub)simple dynamic arrays✨
E
- errormsg(3pub)printing error messages✨
F
- fassert(3pub)file manipulation utilities✨
- files(3pub)file manipulation utilities✨
- fname(3pub)filename manipulation✨
- fnbase(3pub)filename manipulation✨
- fndelbeg(3pub)filename manipulation✨
- fndelend(3pub)filename manipulation✨
- fndelsuf(3pub)filename manipulation✨
- fndir(3pub)filename manipulation✨
- fnhome(3pub)filename manipulation✨
- fnjoin(3pub)filename manipulation✨
- fnlastsuf(3pub)filename manipulation✨
- fnpathfind(3pub)find a file in a list of directories✨
- fnqualify(3pub)qualify a filename✨
- fnsetsuf(3pub)filename manipulation✨
G
- get_progname(3pub)printing error messages✨
- getaline(3pub)file manipulation utilities✨
H
- hash(3pub)generic hash tables✨
- hash_create(3pub)generic hash tables✨
- hash_destroy(3pub)generic hash tables✨
- hash_install(3pub)generic hash tables✨
- hash_iter(3pub)generic hash tables✨
- hash_lookup(3pub)generic hash tables✨
- hash_uninstall(3pub)generic hash tables✨
I
- iset(3pub)manipulate sets of integers✨
- iset_add(3pub)manipulate sets of integers✨
- iset_add_range(3pub)manipulate sets of integers✨
- iset_clear(3pub)manipulate sets of integers✨
- iset_contains(3pub)manipulate sets of integers✨
- iset_copy(3pub)manipulate sets of integers✨
- iset_create(3pub)manipulate sets of integers✨
- iset_destroy(3pub)manipulate sets of integers✨
- iset_diff(3pub)manipulate sets of integers✨
- iset_is_empty(3pub)manipulate sets of integers✨
- iset_isect(3pub)manipulate sets of integers✨
- iset_nth_range(3pub)manipulate sets of integers✨
- iset_range(3pub)manipulate sets of integers✨
- iset_remove(3pub)manipulate sets of integers✨
- iset_remove_range(3pub)manipulate sets of integers✨
- iset_union(3pub)manipulate sets of integers✨
L
- log(3pub)simple log file output✨
M
- memarrfill(3pub)fill an array with the value of its first element✨
- memdel(3pub)remove bytes from beginning of memory block✨
- memdup(3pub)memory allocation functions for Publib✨
- memfill(3pub)fill memory area with pattern✨
- memins(3pub)insert bytes at beginning of memory block✨
- memisort(3pub)insert new element into sorted array✨
- memmem(3pub)search for memory block inside another memory block✨
- memoverlap(3pub)check whether two memory blocks overlap✨
- memrchr(3pub)find last occurrence of a character within another memory block✨
- memrev(3pub)reverse an array in place✨
- memrmem(3pub)find last occurrence of memory block within another memory block✨
- memshuffle(3pub)make an array be in random order✨
- memswap(3pub)swap the contents of two memory blocks✨
P
- publib(3pub)introduction to publib✨
S
- set_progname(3pub)printing error messages✨
- stack(3pub)manipulate stacks✨
- stack_copy(3pub)manipulate stacks✨
- stack_create(3pub)manipulate stacks✨
- stack_destroy(3pub)manipulate stacks✨
- stack_is_empty(3pub)manipulate stacks✨
- stack_pop(3pub)manipulate stacks✨
- stack_push(3pub)manipulate stacks✨
- stracat(3pub)concatenate many strings into an allocated memory block✨
- stranaxfrm(3pub)make a string into canonical form for anagram comparison✨
- strchange(3pub)replace beginning of string with beginning of another string✨
- strcins(3pub)insert a character at the beginning of a string✨
- strcstr(3pub)convert memory block to printable C string notation✨
- strdel(3pub)delete characters from beginning of string✨
- strdiff(3pub)locate first difference between two strings✨
- strend(3pub)return pointer to the terminating '\0' of a string✨
- strendzap(3pub)remove pattern from end of str, if it is there✨
- strgsub(3pub)substitute all occurrences of pattern with another string✨
- strhash(3pub)hash function for strings✨
- strinit(3pub)initialize a string with a given character to a given length✨
- strins(3pub)insert a string at the beginning of another string✨
- strltrim(3pub)remove leading whitespace from string✨
- strmaxcpy(3pub)copy at most a given number of characters of string✨
- strmove(3pub)make a copy of a string, handling overlapping strings✨
- strmtrim(3pub)replace multiple white spaces with single blanks within string✨
- strnins(3pub)insert prefix of a string at the beginning of another string✨
- stroverlap(3pub)check whether two strings overlap✨
- strrev(3pub)reverse a string in place✨
- strright(3pub)return a pointer to the beginning of the rightmost n chars in a string✨
- strrot13(3pub)encrypt or decrypt string using rot13✨
- strrstr(3pub)locate last occurrence of substring✨
- strrtrim(3pub)remove trailing whitespace✨
- strset(3pub)set all characters in a string to a given character✨
- strshuffle(3pub)make the characters in a string be in random order✨
- strsplit(3pub)split string into words✨
- strsub(3pub)substitute first occurrence of pattern with another string✨
- strtabify(3pub)convert runs of spaces and tabs to tabs✨
- strtrexpand(3pub)expand tr-like notation in string✨
- strtrim(3pub)remove leading and trailing whitespace✨
- struncstr(3pub)convert printable C string notation to a memory block✨
- struntabify(3pub)convert tabs to spaces✨
- strvars(3pub)expand variables in string✨
- strzap(3pub)remove pattern from beginning of string, if it is there✨
T
- tbuf(3pub)manipulate text editor buffer✨
- tbuf_cat(3pub)manipulate text editor buffer✨
- tbuf_chars(3pub)manipulate text editor buffer✨
- tbuf_copy(3pub)manipulate text editor buffer✨
- tbuf_create(3pub)manipulate text editor buffer✨
- tbuf_destroy(3pub)manipulate text editor buffer✨
- tbuf_length(3pub)manipulate text editor buffer✨
X
- xfclose(3pub)file manipulation utilities✨
- xfopen(3pub)file manipulation utilities✨
- xfree(3pub)memory allocation functions for Publib✨
- xfseek(3pub)file manipulation utilities✨
- xgetaline(3pub)file manipulation utilities✨
- xmalloc(3pub)memory allocation functions for Publib✨
- xmemdup(3pub)memory allocation functions for Publib✨
- xrealloc(3pub)memory allocation functions for Publib✨
- xstrdup(3pub)memory allocation functions for Publib✨
💅
getting it ready, bestie…