MSVCRT__searchenv(3w)

MSVCRT__searchenv3w

Usage

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

Overview

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".

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