Carbon


Process-Identification Constants

Header: Processes.h

enum {
    kNoProcess = 0,
    kSystemProcess = 1,
    kCurrentProcess = 2
};

Constant descriptions

kNoProcess

Identifies a process that doesn’t exist.

kSystemProcess

Identifies a process that belongs to the Operating System.

kCurrentProcess

Identifies the current process.

The Process Manager provides three constants that can be used instead of a process serial number to identify a process.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)