name(sstr, dstr)
struct string *sstr, *dstr;
The renaming is performed with link(2) and unlink(2). Should the system fail during the renaming, the file can not be lost although it may appear with both names. A file can not be moved between file systems with this function.
This function implements the NAME statement.
from The Basmark QuickBASIC Programmer’s Manual by Lawrence Leinweber