windows-nt/Source/XPSP1/NT/base/crts/crtw32/misc/wsearche.c

33 lines
716 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/***
*wsearche.c - find a file using paths from an environment variable (wchar_t version)
*
* Copyright (c) 1993-2001, Microsoft Corporation. All rights reserved.
*
*Purpose:
* to search a set a directories specified by an environment variable
* for a specified file name. If found the full path name is returned.
*
*Revision History:
* 12-07-93 CFW Module created.
* 02-07-94 CFW POSIXify.
*
*******************************************************************************/
#ifndef _POSIX_
#define WPRFLAG 1
#ifndef _UNICODE /* CRT flag */
#define _UNICODE 1
#endif
#ifndef UNICODE /* NT flag */
#define UNICODE 1
#endif
#undef _MBCS /* UNICODE not _MBCS */
#include "searchen.c"
#endif /* _POSIX_ */