The pigpio library is a library for the Raspberry to control the General Purpose Input Outputs (GPIO).
pi@raspberrypi:~/Zpigpio/PIGPIO $ sudo ./x_pigpio Testing pigpio C I/F pigpio version 64. Hardware revision 10494082. Mode/PUD/read/write tests. TEST 1.1 PASS (set mode, get mode: 0) TEST 1.2 PASS (set pull up down, read: 1) TEST 1.3 PASS (set pull up down, read: 0) ...