|Censorship, Freedom of Speech, Privacy|
|Governments, the Music and Movie industries, and others are attempting to disable the internet, truncate freedom of speech, and eliminate internet privacy. Now, in 2013. US residents: please join the Electronic Frontier Foundation (EFF.org) to join the fight for your rights. Everyone: learn what TPP is and why it is really really bad.|
|For a few details see my censorship/privacy/freedom web page with its links to attempts to censor us all.|
|HOME||Software||Palm||DWARF||Lotus Cars||RPM Building||eeepc||kindle|
David A's C Software
All the code here is provided in C source and is free software. Compile it yourself. Enjoy!
Some key writings on C for C programmers (from Henry Spencer, Dennis Richie, and others) is at http://www.lysator.liu.se/c/ C programmers will enjoy this. Take a look.
Occasionally folks are unaware of or misunderstand the rules on writing POSIX signal handlers in C and C++. So I've written a brief overview of POSIX signal handling pitfalls. Corrections and suggestions welcome.
When viewing the binary representation of a file I prefer to use a format I first saw in a utility provided by IBM in OS360 in 1964. So I wrote C code I call hxdump that prepares output in a similar format. Download the hxdump.c C source. To compile it cc -g hxdump.c -o hxdump should suffice. The source has always said there are no restrictions on its use.
Sometimes (rarely) one has a file one wants to patch directly, rather than use an editor. Years ago I wrote (and made available via ftp) a program I call binpatch. Download the binpatch.c C source. To compile it cc -g binpatch.c -o binpatch should suffice. The source has always said there are no restrictions on its use.
See the page describing a palm extractor in C. It is a way to get data out of a palm data file (palm provides no way to do this!).
A standard based search is quite useful, but tsearch has its peculiarities, so perhaps an example is of interest. See the page describing a tsearch example in C.