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