ppc_random_pbm, 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 computer code and data files described and made available on this web page are distributed under the MIT license
ppc_random_pbm is available in a C version.
ppc_xmalloc, a library which manages the allocation of memory, from Rouben Rostamian's "Programming Projects in C";