Linux – General Purpose IO (GPIO) from user space code

I came across this good article about how to program general purpose IO (GPIO) from user space code in Linux

http://falsinsoft.blogspot.ie/2012/11/access-gpio-from-linux-user-space.html

It contains a nice little synopsis of the steps involved with setting up and reading & writing inputs and outputs!