[LCP]Which one is faster - program with unix system calls or direct c code

Matthew Vanecek linux4us at earthlink.net
Mon Jul 16 08:02:02 UTC 2001


On 14 Jul 2001 09:56:34 +0530, sasidhar p wrote:




    >From: David Lloyd 

    >Incidentally, I'm a little confused what you mean by "direct C". 

    Well, I was confused too when i faced the question due to lack of
    context, but then the context in the interview changed some thing
    like this...  a program using standard library functions or a
    program using unix system calls... Say for example, we want to split
    a file into n equal files... now which one will be faster... a
    program using standard library functions or the one using unix
    system calls... this is all the data i was given.

    Thanx,

    Sasi.



More information about the linuxCprogramming mailing list