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

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

 



Try using the system function
Check this:
man 3 system

-Kaustubh

On Tue, Aug 3, 2010 at 12:39 PM, loody <miloody@xxxxxxxxx> wrote:
> 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
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>

--
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