RE: can we execute c shell cmd in c function?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



_______________________________________
From: kernelnewbies-bounce@xxxxxxxxxxxx [kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of loody [miloody@xxxxxxxxx]
Sent: Tuesday, August 03, 2010 12:39 PM
To: Kernel Newbies
Subject: can we execute c shell cmd in c function?

>Dear all:
>Can I execute c shell in my c function call?
>suppose I want to mount some device before I try to open it.
>Appreciate your help,
>miloody

Yeh , you can always do that. see "man exec" exec family of functions will surely help you.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


______________________________________________________________________

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux