I'm totally with you for processes should probably use glibc/platform API calls, but procfs is nothing short of brilliant and a great validation of the power of the "everything is a file".
I will admit that it's likely that the same thing could be done with loadable kernel modules, that said.