Function Definitions

This is a discussion on Function Definitions within the C Programming forums, part of the General Programming Boards category; Hi Is there any place in the linux filesystem where I could find definitions for c functions (scanf, printf, fork, ...

  1. #1
    Registered User PutoAmo's Avatar
    Join Date
    Mar 2002
    Posts
    72

    Question Function Definitions

    Hi

    Is there any place in the linux filesystem where I could find definitions for c functions (scanf, printf, fork, strtok ...)?

    Thank you !

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    247
    donot know about "linux", but if there is a help file with your compiler, search that. Other than that I don't know if you could open your include file system in the compiler directory in linux.
    hoping to be certified (programming in c)
    here's the news - I'm officially certified.

  3. #3
    Unregistered
    Guest
    at the command prompt type man function
    i.e, man strtok


    -geoff

  4. #4
    Registered User PutoAmo's Avatar
    Join Date
    Mar 2002
    Posts
    72
    What I actually need is the source code for the functions.

  5. #5
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    You can download the source code from ftp.gnu.org or one of the mirrors they have setup. The code to scanf, printf is in the libc tar ball I think.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 05-24-2009, 02:42 AM
  2. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  3. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 02:07 AM
  4. Seg Fault in Compare Function
    By tytelizgal in forum C Programming
    Replies: 1
    Last Post: 10-25-2008, 03:06 PM
  5. help writing function definitions
    By jlmac2001 in forum C++ Programming
    Replies: 2
    Last Post: 04-10-2003, 09:44 PM

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