standard functions' definitions

This is a discussion on standard functions' definitions within the C Programming forums, part of the General Programming Boards category; Hi, I'm wondering where the standard C functions, like printf, etc .. are defined. I know their prototypes/declarations are in ...

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21