1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

a doubt regarding GCC in Linux OS

Discussion in 'C' started by vikky1988i, Apr 3, 2010.

  1. vikky1988i

    vikky1988i New Member

    Joined:
    Apr 1, 2010
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    0
    Occupation:
    Mainframes Admin. @ I | Nautix Technologies
    Location:
    chennai , Tamil Nadu ,INDIA
    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
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    There isn't one. You just call the kernel directly. I think, anyway. What kernel system calls do you want to call?
     

Share This Page