Quantcast
Channel: All System Administration posts
Viewing all articles
Browse latest Browse all 1179

C Programming Language: How To Pull In Information From The System?

$
0
0

Hello Everyone;

 

I want to run the <apm> command, from withing a C program, and get the program to receive the output - so that I can display it in an xsession (window) on my screen.

 

I've used the <system> call to tell the O/S what to do - but I don't know where to look to find out how to issue a system call and have the program receive the output.

 

Any ideas are appreciated.

 

regards,

tonyp

 


Viewing all articles
Browse latest Browse all 1179

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>