_searchenv(3w)

_searchenv3w

Usage

void CDECL _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

Defined in "msvcrt.h".

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

Debug channel "msvcrt".

Releases

3 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0

From libwine-dev 1.0.1-3.1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.