ppc_netpbm_random, a C code which creates a random MxN array of 0's and 1's, regarded as a portable bit map (PBM) image, from Rouben Rostamian's "Programming Projects in C";
The information on this web page is distributed under the MIT license.
ppc_netpbm_random is available in a C version.
ppc_xmalloc, a library which manages the allocation of memory, from Rouben Rostamian's "Programming Projects in C";