Function

NSOpenStepRootDirectory

Returns the root directory of the user’s system.

Declaration

NSString * NSOpenStepRootDirectory(void);

Return Value

A string identifying the root directory of the user’s system.

Discussion

For more information on file system utilities, see Low-Level File Management Programming Topics.

See Also

Locating System Directories

- URLForDirectory:inDomain:appropriateForURL:create:error:

Locates and optionally creates the specified common directory in a domain.

- URLsForDirectory:inDomains:

Returns an array of URLs for the specified common directory in the requested domains.

NSSearchPathForDirectoriesInDomains

Creates a list of directory search paths.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software