.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH MSVCRT__getcwd 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBMSVCRT__getcwd\fR (MSVCRT.@) .SH SYNOPSIS char* CDECL MSVCRT__getcwd ( char* \fIbuf\fR, int \fIsize\fR ) .SH DESCRIPTION .PP Get the current working directory. .SH PARAMS \fIbuf\fR \fB[Out]\fR Destination for current working directory. .PP \fIsize\fR \fB[In]\fR Size of \fIbuf\fR in characters. .PP .SH RETURNS .PP \fBSuccess:\fR If \fIbuf\fR is \fBNULL\fR, returns an allocated string containing the path. Otherwise populates \fIbuf\fR with the path and returns it. .PP \fBFailure:\fR \fBNULL\fR. errno indicates the error. .SH IMPLEMENTATION .PP Not declared in a Wine header. The function is either undocumented, or missing from Wine. .PP Implemented in \fB"dlls/msvcrt/dir.c"\fR. .PP Debug channel \fB"msvcrt"\fR.