[ale] C programing

Chris Fowler ChrisF at computone.com
Wed Jan 3 15:11:52 EST 2001





Advance Programming in the UNIX environment is the best


Another good one is:


Linux Application Development by Johnson Troan


If you want to dive into Operating System programming take a look at:


Developing 16-bit and 32-bit Opertaing systems using COBOL 85 by Manuel Falso


Chris



-----Original Message-----
From: Fletch [mailto:fletch at phydeaux.org]
To: ale at ale.org
Sent: Wednesday, January 03, 2001 2:54 PM
To: Ken Nagorski
Cc: ale at ale.org
Subject: Re: [ale] C programing



>>>>> "Ken" == Ken Nagorski <kenn at pcintelligent.com> writes:


    Ken> hi there, Does anyone know a good mailing list for linux C
    Ken> programing. I am trying to learn, well I know C somewhat and
    Ken> I am begining to work with linux includes but I still have
    Ken> questions about basic C like poitners and stuff sometime


        Not a direct answer to your question, but two indespensible
books will do you probably much more good than a mailing list:



    A Book On C : Programming in C, Fourth Edition
    By Kelley, Al / Pohl, Ira


    List Price: $42.95
    Published by Addison Wesley
    Date Published: 03/1998
    ISBN: 0201183994



    Advanced Programming in the UNIX Environment
    By Stevens, W. Richard


    List Price: $65.95
    Published by Addison Wesley
    Date Published: 06/1993
    ISBN: 0201563177



        The first is a really good introduction to C.  It was used as
a textbook in a couple (IMSMR; at least one I'm sure) of CS courses I
took at Tech.  The second is a must have if you're doing any serious
programming on any sort of *NIX box (also indespensable is the same
author's _UNIX Network Programming_ book).  The first book will answer
any C syntax questions you have (like what the heck does something
like `a ^= b ^= a ^= b;' do? :), and the latter book will explain what 
system calls or library functions do whatever you're trying to do.
            


    Ken> however most of my questions are like what is wrong with
    Ken> if(S_ISUID(statbuf.stat_mode)) which really isn't a C
    Ken> question it's a C/linux question. I know when I lived in


        It's more of a C/UNIX question, which APUE would answer.  But
lacking that tome, just Use the Source, Luke:



lemur:~ 406> grep -h S_ISUID /usr/include/sys/*.h
#define S_ISUID __S_ISUID       /* Set user ID on execution.  */
[...]



        Also in this case, the stat(2) manual page provides the same
explanation.


-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
770 933-0600 x211(w)  |  scary questions." -- Jules                =(___)=
                      |                                               U
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.







More information about the Ale mailing list