IS64U Kernel Service

Purpose

Determines if the current user-address space is 64-bit or not.

Syntax

#include <sys/types.h> #include <sys/user.h> int IS64U

Description

The IS64U kernel service returns 1 if the current user-address space is 64-bit. It returns 0 otherwise.

Execution Environment

The IS64U kernel service can be called from a process or interrupt handler environment. In either case, it will operate only on the current user-address space.

Return Values

Item Description
0 The current user-address space is 32-bits.
1 The current user-address space is 64-bits.