As Chief Software Architect, I have designed and authored a lot of software for
Silicon Landmark. Due to my love of
"Free" and "Open" software, I have decided to put up a couple of simple programs
and commonly used routines from my portfolio that I have found extremely handy
in helping me get through my daily programming tasks.
For UNIX (*BSD and Linux)
- cutmp.c - Forcefully clears a terminal line entry
in wtmp.
- utime.c - Outputs the current UNIX-time; The time
since the UNIX Epoch. I have found this to be handy in the various chores of
System Management and Database Administration.
For Microsoft Windows
- AGPLIB - AGPLIB eases Windows development by
providing commonly used functions in one convenient location.
- autologon.c - This program was written for a
Windows workstation that is usually logged in as a particular user, but
is sometimes used by another. It automatically resets the login prompt to
the main user's username on logout. Additionally, with the
"AutoAdminLogon" registry key, you can have that user automatically logged
in. This program is designed for Windows NT/2000 and XP (Without the fast user
switching login screen) machines.
- dsplyerr.c - Displays the output of
GetLastError in human readable form with the default system locale as
returned by the FormatMessage API. This function is very handy for
displaying unknown errors or status information to the user.
- TermRun32 - A nifty utility for Terminal
Servers and Remote Desktops, which runs executables passed to it only if invoked
at the system console (but not when logged in over the network). Users forced to
use point32.exe included with Microsoft mice will love this!
General utilities
- strpos.c - Find the position of a substring in
a string. Unlike strstr, this function returns the position in terms of
characters, not just a pointer to the match. This function is portable and
works with SBC, MBC and UNICODE targets.
- strstp.c - Ever want to remove every occurance
of a particular character in a string? This is exactly what this function does!
This function is portable and works with SBC, MBC and UNICODE targets. Maybe one
day, it'll be included in a libc somewhere... *hint* *hint*
- telnet.h - This header file contains the various
codes which get sent over the wire when you initiate a telnet connection. This
file is your friend if you are interested in telnet or if you are developing an
internet server (or service) which you want people to be able to telnet to.
Instead of digging through RFCs for the various hex values, just include this
and start coding.