Carbon


SysEnvirons

Header: OSUtils.h Carbon status: Unsupported

Returns information about the operating environment. You can use this function when the Gestalt function is not available.

OSErr SysEnvirons (
    SInt16 versionRequested, 
    SysEnvRec *theWorld
);
Parameter descriptions
versionRequested

The version number of the system environment record you’re prepared to receive. SysEnvRec documents version 2, which contains the same fields as version 1 but recognizes a more complete set of descriptive constants. You can trust any future version to return the version 2 structure if you request it, although the structure might contain whatever constants are then current.

Use the constant curSysEnvVers to request the most recent version.

theWorld

A system environment record.

function result

A result code.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.

CARBON NOTES

Uses working directories. Use FindFolder and Gestalt instead.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)