Sign in Join
FPDoc Onlineexperiment

SearchRec record

In unit Dos

File Search Results record.

Declaration

pascal
SearchRec = packed record

Description

SearchRec is filled by the FindFirst call and can be used in subsequent FindNext calls to search for files. The structure of this record depends on the platform. Only the following fields are present on all platforms:

Attr
File attributes.
Time
File modification time.
Size
File size
Name
File name (name part only, no path)
Mode
File access mode (Linux only)

Fields

SearchPosCurrent search position.
SearchNumCurrent search number.
DirPtrPointer to directory.
SearchTypeType of search.
SearchAttrAttributes specified at findfirst.
ModeFile mode for Unix systems.
FillPadding bytes.
AttrAttributes of the file.
TimeTimestamp of the file.
SizeSize of the file.
ReservedReserved for future use.
NameName for the file.
SearchSpecWildcard specs specified at findfirst.
NamePosName position.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.