char* CDECL _getcwd ( char* buf, int size )
Get the current working directory.
|buf||[Out]||Destination for current working directory.|
|size||[In]||Size of buf in characters.|
Success: If buf is NULL, returns an allocated string containing the path. Otherwise populates buf with the path and returns it.
Failure: NULL. errno indicates the error.
Declared in "tchar.h". https://source.winehq.org/source/include/tchar.h
Implemented in "dlls/msvcrt/dir.c". https://source.winehq.org/source/dlls/msvcrt/dir.c
Debug channel "msvcrt".
Copyright © 2023 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Sep 2023.