CURPROC(9)             NetBSD Kernel Developer's Manual             CURPROC(9)

NAME
     curproc, curcpu -- current process and processor

SYNOPSIS
     #include <sys/proc.h>

     struct cpu_info *
     curcpu(void);

     struct proc *
     curproc(void);

DESCRIPTION
     curcpu() returns a pointer to a cpu_info structure containing information
     of the CPU that this thread is running on.  curproc() returns a pointer
     to the process currently running on this CPU.

NetBSD 5.0.1                     May 23, 2002                     NetBSD 5.0.1

You can also request any man page by name and (optionally) by section:

Command: 
Section: 
Architecture: 
Collection: 
 

Use the DEFAULT collection to view manual pages for third-party software.


©1994 Man-cgi 1.15, Panagiotis Christias <christia@softlab.ntua.gr>
©1996-2014 Modified for NetBSD by Kimmo Suominen