Scroll to navigation

MSVCRT__searchenv(3w) Wine API MSVCRT__searchenv(3w)

NAME

MSVCRT__searchenv (MSVCRT.@)

SYNOPSIS

void CDECL MSVCRT__searchenv
(
const char* file,
const char* env,
char* buf
)
 

DESCRIPTION

Search for a file in a list of paths from an environment variable.
 

PARAMS

file [In] Name of the file to search for.
env [In] Name of the environment variable containing a list of paths.
buf [Out] Destination for the found file path.
 

RETURNS

Nothing. If the file is not found, buf will contain an empty string and errno is set.
 

IMPLEMENTATION

Declared in "msvcrt.h".
Implemented in "dlls/msvcrt/dir.c".
Debug channel "msvcrt".
Oct 2012 Wine API