Renames the I/O file object associated file.
rename(string newName);
rename(blob *newName);
rename(string newName, int flag);
rename(blob *newName, int flag);
Parameter |
Description |
---|---|
newName |
The string or blob that contains the name of the new file. |
flag (optional) |
Flag to specify rename operations:
|
Integer. Returns 1 for success, and 0 for failure.
Pointer to object |
Object |
---|---|
|
|
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |