NAME

_findfirst  (MSVCRT.@)

SYNOPSIS

 intptr_t CDECL  _findfirst
 (
  const char*         fspec,
  struct _finddata_t* ft
 )

DESCRIPTION

Open a handle for iterating through a directory.

PARAMS

fspec [In] File specification of files to iterate.
ft [Out] Information for the first file found.

RETURNS

Success: A handle suitable for passing to _findnext and _findclose. ft is populated with the details of the found file.

Failure: -1. errno indicates the error.

NOTES

See FindFirstFileA.

IMPLEMENTATION

Declared in "include/msvcrt/io.h". gitlab.winehq.org/wine/wine/blob/master/include/msvcrt/io.h

Implemented in "dlls/msvcrt/dir.c". gitlab.winehq.org/wine/wine/blob/master/dlls/msvcrt/dir.c

Debug channel "msvcrt".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.