Hi,

Its a common parctice to put prototype in header file and to put its
implementation in a .c file.
So code for 'pritf' will also be in some .c file in the "gcc source"
So search for pritf's code in gcc

I am not sure but there is some file with name pritf.c in gcc source, which
contain code for printf

HTS

-Aniruddha

-----Original Message-----
From: harris ur rahman [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 6:45 PM
To: [EMAIL PROTECTED]
Subject: [LIH]C my doubt


hi all,

        Today ,I was working with C, I have the habit of going through 
the code in the Header file. I don't understand onething about 
them

        * The header files contain just prototypes

        Where does the actual code for performing an i/o , say using 
scanf() or printf() lie.  As far as i have seen the header files 
dont contain this code (correct me if i am wrong).

        I beleive this is not off - topic as i was going through some 
source files in Linux

Thanx all
Harris



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to