Thread: standard functions' definitions

  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    61

    standard functions' definitions

    Hi,

    I'm wondering where the standard C functions, like printf, etc .. are defined.
    I know their prototypes/declarations are in stdio.h and other standard headers.

    Will I have to look into the my compiler's (gcc) src in order to find them? If so, where specifically ?

    Thanks in advance.
    $ENV: FreeBSD, gcc, emacs

  2. #2
    Registered User
    Join Date
    Jul 2002
    Posts
    913
    in a unix its under /usr/share/include or in windows in in the compilers dir under include.

  3. #3
    Registered User
    Join Date
    Jul 2003
    Posts
    61
    Thanks for replies.
    I've found the libraries in /usr/src/lib/libc in FreeBSD.
    $ENV: FreeBSD, gcc, emacs

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Static functions.... why?
    By patricio2626 in forum C++ Programming
    Replies: 4
    Last Post: 04-02-2007, 08:06 PM
  2. Static member functions more efficient?
    By drrngrvy in forum C++ Programming
    Replies: 6
    Last Post: 06-16-2006, 07:07 AM
  3. Attaching functions to a class/struct
    By VirtualAce in forum Tech Board
    Replies: 2
    Last Post: 08-04-2003, 10:56 AM
  4. Using c++ standards
    By subdene in forum C++ Programming
    Replies: 4
    Last Post: 06-06-2002, 09:15 AM
  5. API "Clean Up" Functions & delete Pointers :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 05-10-2002, 06:53 PM