krename - rename a khoros transport from path1 to path2
LIBRARY CALL
int krename(
const char *oldname,
const char *newname)
INPUT
oldname - the old khoros transport name
newname - the new khoros transport name
OUTPUT
none
RETURN VALUE
0 on success, -1 on failure and sets errno to
indicate the error
DESCRIPTION
krename() is used to move the contents from one
file to another. If the two files are standard
UNIX files then krename() simply use the system
rename(), but if this fails then the khoros transport
mechanisms are used to copy the data from the
first file to the second, and then the first
is unlinked using kunlink().