C++ Program running in Linino get information from the Pins without sketch

Quick Question,

Is it possible to get information about Digital and Analog Pins without going through Sketch.
Purely using GPIO's

Any documentation is highly appreciated.

Thanks

BRE