Thread: check syntax on gcc

  1. #1
    Registered User
    Join Date
    Sep 2012
    Posts
    5

    check syntax on gcc

    How do we get offline help regarding syntax of a function on gcc. Thank you.

  2. #2
    Registered User
    Join Date
    Apr 2008
    Posts
    396
    What do you call a "function on gcc"? Are you talking about the source code of the compiler or just some regular C library function?

  3. #3
    Registered User
    Join Date
    Sep 2012
    Posts
    5
    I mean a regular C library function

  4. #4
    Registered User
    Join Date
    May 2010
    Posts
    4,633
    For the standard C functions you can try, from the command line, "man FunctionName", ie "man printf". This should work if you have the documentation for gcc installed on your computer.

    Jim

  5. #5
    Registered User
    Join Date
    Sep 2012
    Posts
    5
    yeah it worked..thank you

  6. #6
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by jimblumberg View Post
    For the standard C functions you can try, from the command line, "man FunctionName", ie "man printf".
    "man 3 FunctionName"
    would give a much more comprehensive documentation.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Check to check string for a series of characters
    By robi in forum C Programming
    Replies: 1
    Last Post: 02-28-2012, 05:42 PM
  2. Array Syntax Versus Pointer Syntax
    By LyTning94 in forum C++ Programming
    Replies: 6
    Last Post: 12-06-2011, 10:56 AM
  3. Replies: 3
    Last Post: 07-24-2007, 04:25 PM
  4. Syntax Help Please
    By misplaced in forum C++ Programming
    Replies: 3
    Last Post: 04-22-2005, 07:47 AM
  5. syntax help
    By Neoground1 in forum C++ Programming
    Replies: 4
    Last Post: 10-21-2002, 03:37 AM