void FLbackup (const char Fname[])


Rename an existing file


This subroutine backs up a file. If a file with the given name exists, say xxx, that file is renamed to xxx~. Any previous file with the name xxx~ is removed.

Only regular files are backed up. If a backup file is created, a warning message indicating the new name is issued. One use of this routine is to a copy of an existing file before opening a new file.

This routine will terminate execution if the file cannot be backed up.


-> const char Fname[]
File name

Author / revision

P. Kabal / Revision 1.33 2003/05/09

Main Index libtsp