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.