reading /proc values thorugh C code



Hi all,
I have been looking for quite some time to read /proc entries through
a c code. I understand that there are directories with pids. If there
is a library or a kernel structure that lets us to do so. Please let
me know.
thanks,
Udai.
http://www.udaikiran.org
.