unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (NetBSD-2.0)
Page:
Section:
Apropos / Subsearch:
optional field

CPU_NUMBER(9)            BSD Kernel Developer's Manual           CPU_NUMBER(9)

NAME
     cpu_number -- unique CPU identification number

SYNOPSIS
     #include <&lt;sys/types.h>&gt;
     #include <&lt;machine/cpu.h>&gt;

     cpuid_t
     cpu_number(void);

DESCRIPTION
     cpu_number() returns the unique CPU identification number for the CPU
     that this thread is running on.

SEE ALSO
     curcpu(9)

BSD                              May 23, 2002                              BSD