NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | ATTRIBUTES
#include <arpa/ftpd/systemFilesys.h>int systemRename(FtpConn *conn, char *old, char *new);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
This function renames a file, moving it between directories if necessary. The original file name contained in "old" is moved or renamed to that contained in "new". These two arguments can hold a full pathname or a file name.
Returns 0 if successful, -1 otherwise.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | ATTRIBUTES