I've finally gotten around to playing with RasPi GPIOs, using Gert van Loo and Dom's C code at the RasPi Wiki. It works fine, except that you have to run the executable as root or use sudo to access /dev/mem.
Does anyone here know how to access /dev/mem as a normal user?