All of lore.kernel.org
 help / color / mirror / Atom feed
* most likely, i'll be giving a kernel talk at ottawa LUG next week
@ 2011-01-26 18:08 Robert P. J. Day
  2011-01-27  6:17 ` How to identity processor architecture prabhu
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2011-01-26 18:08 UTC (permalink / raw)
  To: kernelnewbies


  while i'm still waiting for official confirmation, i've offered to
give next week's talk at the ottawa (ontario) linux users group.
here's the current posting which doesn't mention it yet:

  http://oclug.on.ca/meeting/70/

since i'm in town and there was nothing on the schedule, i volunteered
to give a short (hands-on) talk on building and booting a new kernel,
and how to write, compile and load your first kernel module.  nothing
earth-shaking, but if you wanted to see that done step-by-step in real
time and be able to ask questions as it's happening, stop by.

  i'm hoping that a synopsis goes up fairly soon.

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

* How to identity processor architecture
  2011-01-26 18:08 most likely, i'll be giving a kernel talk at ottawa LUG next week Robert P. J. Day
@ 2011-01-27  6:17 ` prabhu
  0 siblings, 0 replies; 2+ messages in thread
From: prabhu @ 2011-01-27  6:17 UTC (permalink / raw)
  To: kernelnewbies

Hi Dear,

I just wanna to know my processor architecture(32bit or 64 bit) through 
c programming.

According to me the sizeof of pointer will give the result. Like below 
coding.

int main()
{
int *ptr;
printf("%d",sizeof(ptr));
}

If the result is 4 then it is 32 bit processor... If it is 8 then it is 
64 bit processor.

Please correct me if i am wrong... (I do not have system to check this.)

Any suggestion or help would be appreciated.

Thanks,
Prabhu

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-27  6:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-26 18:08 most likely, i'll be giving a kernel talk at ottawa LUG next week Robert P. J. Day
2011-01-27  6:17 ` How to identity processor architecture prabhu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.