a doubt regarding GCC in Linux OS

Go4Expert Member
3Apr2010,11:59   #1
vikky1988i's Avatar
Good afternoon to all,

As we are having a function system(); in stdlib.h , to invoke the .exe files and to interact with the kernal in WINDOWS , my question is :

What is the equivalent function in C under linux environment to invoke the kernal system calls ....... i dont need command , i need a function in C with it's header file.... As we do not have .exe concept in Open Source. so only am asking this doubt..... pl. help me out , awaiting for ur reply

thanks
S.R.Vignesh
Mentor
4Apr2010,21:10   #2
xpi0t0s's Avatar
There isn't one. You just call the kernel directly. I think, anyway. What kernel system calls do you want to call?