kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: telent997@gmail.com (Pei Lin)
To: kernelnewbies@lists.kernelnewbies.org
Subject: QUestion on C language
Date: Thu, 23 Dec 2010 14:54:33 +0800	[thread overview]
Message-ID: <AANLkTimr_QLjyWz6fnN9ffCcP1P18nxz2UYs8TU9xJ50@mail.gmail.com> (raw)
In-Reply-To: <A7645AA8-7F1B-4BF4-8C62-D5BE28F07707@archeleus.com>

2010/12/23 Alex John <alex@archeleus.com>:
> On 23 Dec 2010, at 01:43, bhuvan gupta <bhuvangu@gmail.com> wrote:
>
> Respected sir,
> I am Bhuvan Gupta, a B.Tech student.(got your id from yours "?USB LED driver
> - 1.1 ")
> )
> With due respect, I humbly request you to please throw some light on to
> below written question. i will highly appreciate your efforts.
> [1] when we use C language,we use diferent library to do different thing.As
> also in your case you use module.h,init.h etc
> but how to write this library , in what language they are written in?as
> standard ANSI C ?has round about 32 keywords ?
> what should i read and learn to the related topic .
>
> AFAIK, the kernel does not involve heavy use of any library. Talking from a
> non kernel view, you know that .h files are header files. You can google
> that. The language is still C as they're C headers. What do you mean when
> you say "as standard ANSI C ?has round about 32 keywords" ?
I think his meaning is Standard ANSI C recognizes the following 32 keywords
auto
break
case
char
const
continue
default
do
double
else
enum
extern
float
for
goto
if
int
long
register
return
short
signed
sizeof
static
struct
switch
typedef
union
unsigned
void
volatile
while

Of course, as we know, kernel compilation depends on compiler "GCC"
for much more compiler extensions.
>
> please suggest something
> (I do have knowledge of Assembly).
>
> please help,this question making me beacen
> it will be honour if you reply.
> thank you
> Bhuvan Gupta
> India
>
> Cheers
> - Alex.
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>



-- 
Best Regards
Lin

      reply	other threads:[~2010-12-23  6:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-22 17:43 QUestion on C language bhuvan gupta
2010-12-22 20:33 ` Mulyadi Santosa
2010-12-22 21:31 ` Greg Freemyer
2010-12-23  4:06 ` Alex John
2010-12-23  6:54   ` Pei Lin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimr_QLjyWz6fnN9ffCcP1P18nxz2UYs8TU9xJ50@mail.gmail.com \
    --to=telent997@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).