.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH MSVCRT__searchenv 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBMSVCRT__searchenv\fR (MSVCRT.@) .SH SYNOPSIS void CDECL MSVCRT__searchenv ( const char* \fIfile\fR, const char* \fIenv\fR, char* \fIbuf\fR ) .SH DESCRIPTION .PP Search for a \fIfile\fR in a list of paths from an environment variable. .SH PARAMS \fIfile\fR \fB[In]\fR Name of the \fIfile\fR to search for. .PP \fIenv\fR \fB[In]\fR Name of the environment variable containing a list of paths. .PP \fIbuf\fR \fB[Out]\fR Destination for the found \fIfile\fR path. .PP .SH RETURNS .PP Nothing. If the \fIfile\fR is not found, \fIbuf\fR will contain an empty string and errno is set. .SH IMPLEMENTATION .PP Declared in \fB"msvcrt.h"\fR. .PP Implemented in \fB"dlls/msvcrt/dir.c"\fR. .PP Debug channel \fB"msvcrt"\fR.