MSVCRT__getcwd(3w)

MSVCRT__getcwd3w

Usage

char* CDECL MSVCRT__getcwd
(
char* buf,
int size
)

Overview

Get the current working directory.

Params

buf [Out] Destination for current working directory.

size [In] Size of buf in characters.

Returns

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.

Implementation

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/msvcrt/dir.c".

Debug channel "msvcrt".

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.