View topic - Calling an OS function

Calling an OS function

anything that doesn't fit to other groups.

Calling an OS function

Postby rnielsen » Thu Jul 25, 2002 9:52 pm

To a program I need to add information about the network, and I see that the os utilitys netstat and netinfo can give me the the answers I need, but how can I call these functions from within my program, and how do I get the results ?

I am running QNX 4.25 and use the Watcom 10.6 compiler

Regards
/Rene
rnielsen
New Member
 
Posts: 6
Joined: Tue Jul 23, 2002 4:14 pm

Postby Admin » Fri Jul 26, 2002 5:18 am

popen() is your friend.
Admin
Site Admin
 
Posts: 41
Joined: Tue Jul 02, 2002 2:06 pm


Return to General Programming

Who is online

Users browsing this forum: No registered users and 2 guests