2.2 Function list by category

What follows is a listing of the available functions, grouped by category. For each function there is a reference to the page where you can find the function.

File handling

Routines to handle files on disk.

Name Description Page
____________________________________________________________________________

FExpand
Expand filename to full path 85
FindClose
Close finfirst/findnext session 86
FindFirst
Start find of file 86
FindNext
Find next file 87
FSearch
Search for file in a path 87
FSplit
Split filename in parts 88
GetFAttr
Return file attributes 90
GetFTime
Return file time 92
GetLongName
Convert short filename to long filename (DOS only) 93
GetShortName
Convert long filename to short filename (DOS only) 93
SetFAttr
Set file attributes 98
SetFTime
Set file time 98

Directory and disk handling

Routines to handle disk information.

Name Description Page
____________________________________________________________________________

AddDisk
Add disk to list of disks (UNIX only) 80
DiskFree
Return size of free disk space 80
DiskSize
Return total disk size 81

Process handling

Functions to handle process information and starting new processes.

Name Description Page
____________________________________________________________________________

DosExitCode
Exit code of last executed program 82
EnvCount
Return number of environment variables 84
EnvStr
Return environment string pair 84
Exec
Execute program 85
GetEnv
Return specified environment string 90

System information

Functions for retrieving and setting general system information such as date and time.

Name Description Page
____________________________________________________________________________

DosVersion
Get OS version 83
GetCBreak
Get setting of control-break handling flag 89
GetDate
Get system date 89
GetIntVec
Get interrupt vector status 93
GetTime
Get system time 94
GetVerify
Get verify flag 95
Intr
Execute an interrupt 95
Keep
Keep process in memory and exit 95
MSDos
Execute MS-dos function call 96
PackTime
Pack time for file time 96
SetCBreak
Set control-break handling flag 97
SetDate
Set system date 97
SetIntVec
Set interrupt vectors 99
SetTime
Set system time 99
SetVerify
Set verify flag 99
SwapVectors
Swap interrupt vectors 100
UnPackTime
Unpack file time 100