_searchenv.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

_searchenv (MSVCRT.@)

SYNOPSIS

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

Defined in "msvcrt.h".

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

Debug channel "msvcrt".