check syntax on gcc

This is a discussion on check syntax on gcc within the Linux Programming forums, part of the Platform Specific Boards category; How do we get offline help regarding syntax of a function on gcc. Thank you....

  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
    395
    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
    2,902
    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
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,509
    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.
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



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, 05:25 PM
  4. Syntax Help Please
    By misplaced in forum C++ Programming
    Replies: 3
    Last Post: 04-22-2005, 08:47 AM
  5. syntax help
    By Neoground1 in forum C++ Programming
    Replies: 4
    Last Post: 10-21-2002, 04:37 AM

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