Linux Programming

This is a discussion on Linux Programming within the C Programming forums, part of the General Programming Boards category; I'm learning C with Absolue Beginner's Guide to C by Greg Perry, now should I also get a book just ...

  1. #1
    Bud
    Bud is offline
    Registered User
    Join Date
    Jun 2002
    Posts
    6

    Exclamation Linux Programming

    I'm learning C with Absolue Beginner's Guide to C by Greg Perry, now should I also get a book just for linux programming? And is there a difference>?

    Thanks,
    Bud

  2. #2
    Im back! shaik786's Avatar
    Join Date
    Jun 2002
    Location
    Bangalore, India
    Posts
    345
    Most of the books in market on C teach you ANSI C alone, which means, they work every where. Apart from the specs proposed by this standard, there are a number of additional functions local to each OS, Linux just being one of them contributing it's own set of functions which might not be applicable on other platforms. If you wish to program on a specific OS, it's always better to learn to program more on that specific OS, because it has it's own implementation of the language, specific to itself. Thus, things which work on Linux need not work on other OS's, and it's recommendable to buy a book on "Programming in Linux".

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    3

    programming linux

    hi,

    i have spent the last year learning and using c for the purpose of coding on the linux kernel. during this process, i have learned the following:

    1) linux is posix compliant. this means that any unix book that describes posix compliant system calls will work.

    2) man <system call>. your *nix system has everything in its documentation. just remember that you'll want man 2 for the system calls and man 3 for the library calls ( which usually have the same name, so be careful ).

    Books:

    Advanced Unix Programming by Warren Gay ( SAMS Publishing ) ( AUP )

    Linux Application Development by Michael Johnson and Erik Troan. ( LAD )

    Understanding the Linux Kernel by Daniel Bovet and Marco Cesati ( O'Reilly ) ( ULK )

    check out linuxdoc.org also.

    if you're going to do lots of system programming, i have noticed that AUP and LAD have slightly different focuses. i have both and use them simultaneously. generally, LAD provides good background, but spotty examples. AUP has good examples and CAN be light on the detail.

    ULK is very useful because after you read the sections in LAD and AUP, then you go to the source. you will find that your understanding improves by alot.

    --cREbralFIX
    Last edited by crebralfix; 07-05-2002 at 04:27 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Thinking of upgrading to linux...
    By Yarin in forum General Discussions
    Replies: 37
    Last Post: 07-24-2009, 12:40 PM
  2. Wireless Network Linux & C Testbed
    By james457 in forum Networking/Device Communication
    Replies: 3
    Last Post: 06-11-2009, 12:03 PM
  3. Dabbling with Linux.
    By Hunter2 in forum Tech Board
    Replies: 21
    Last Post: 04-21-2005, 05:17 PM
  4. installing linux for the first time
    By Micko in forum Tech Board
    Replies: 9
    Last Post: 12-06-2004, 05:15 AM

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