FTAM/9000 Programmer's Guide
Chapter 3 141
HP FTAM/9000 Data Structures
Ft_file_status
Ft_file_status
enum Ft_file_status {
FT_FS_ENUM_DEFAULT = -1,
FT_NEW = 0,
FT_OLD = 1,
FT_REPLACE_CONTENTS = 2,
FT_RECREATE = 3,
FT_UNKNOWN = 4
};
Ft_file_status determines what action to take in the file specified on
ft_create() or ft_fopen() already exists. Ft_file_status specifies whether to
create or select a file and the effects these actions have on the already
existing file.
If the file does not exist, a new file is created.
Ft_file_status Is Input To
These Functions
Ft_file_status Is Output From
These Functions
ft_create()
ft_fopen()
None
Ft_file_status Field If The File Already Exists
FT_FS_ENUM_DEFAULT For ft_create(), request fails
For ft_fopen(), existing file selected
FT_NEW Request fails
FT_OLD Existing file selected