Unix Programming - using linux commands in C

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > December 2005 > using linux commands in C





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author using linux commands in C
Parthaneela@gmail.com

2005-12-27, 7:49 am

I want to know how to use linux commands in a c programm
regards
Partha

Francois Goudal

2005-12-27, 7:49 am

Parthaneela@gmail.com a écrit :
> I want to know how to use linux commands in a c programm
> regards
> Partha
>


man system
man execl
man popen

I think you will find what you're expecting with these 3 functions.
Regards

--
Francois Goudal
Epita promo 2008 - Ing1 - Tresorier Evolutek
francois@goudal.net
goldfita@gmail.com

2005-12-28, 6:11 pm

Right from gnu,

http://www.gnu.org/software/libc/ma...nning-a-Command

Make sure you do actually need to call an external program. The c
libraries have support for many things you can do on the command line,
like mkdir, for example.

http://www.signalsguru.net

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com