SYNOPSIS
#include <unistd.h>
char *getwd(char *path_name);
DESCRIPTION
The
PARAMETERS
RETURN VALUES
Upon successful completion, a pointer to the string containing the
absolute path name of the current working directory is returned.
Otherwise,
If the length of the path name of the current working directory is greater
than PATH_MAX+1 including the null byte,
CONFORMANCE
UNIX 98.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
Use
Path names are returned as multibyte sequences and are converted from Unicode (UTF-16)
before returning from Win32. The conversion is either performed based on the
current thread locale, set using
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() ,getcwd() ,xlocale()
PTC MKS Toolkit 10.5 Documentation Build 40.