lkml.org 
[lkml]   [2000]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel bits
On Wed, Nov 22, 2000 at 09:25:46AM +0100, 64738 wrote:
> Hi.
>
> Is there a syscall or something that can tell me whether I'm working on a 32-
> or a 64-bit kernel?

uname(2)

It gives out various strings from which you must then deduce,
what kind of kernel is needed to run at what kind of machine.

And even though the machine is running with 64-bit kernel
(e.g. alpha/sparc64/mips64/ia64), your userspace code might
be running in 32-bit mode.

> Greeting,
> Alain
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:47    [W:0.091 / U:2.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site