SYNOPSIS
#include <nutc.h>
char *_NutQueryRootDir(int fmt);
DESCRIPTION
This function returns the root directory of the NuTCRACKER Platform. Use this function when you need to locate the equivalent of the UNIX / in your ported application.
- Note:
-
This function returns a pointer to a static buffer. Do not modify the string returned by this function.
PARAMETERS
- fmt
-
When NUTFMT_WIN32, indicates that the path should be returned in Windows format.
When NUTFMT_NUTC, indicates that the path should be returned in NuTCRACKER Platform format.
When NUTFMT_WIN32_FS, indicates that the path should be returned in Windows format, using forward slashes (also known as MKS format).
RETURN VALUES
CONFORMANCE
PTC MKS Toolkit UNIX APIs extension.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
_NutPathToNutc() ,_NutPathToWin32() ,_NutPathToWin32FS() ,_NutQueryWinDir() ,_NutQueryWinNetFileDir() ,_NutQueryWinSysDir()
PTC MKS Toolkit 10.5 Documentation Build 40.