how an Application in C can get system info?

Hi,

How a C application can get system information like
Code:
netstat -p tcp
?
I'm looking for a system call but not for calling the real netstat and parse the stdout.
 
Back
Top