routine dir_rename (
    olddirectory: file_t;
    RPT
    oldname: string_t;
    newdirectory: file_t;
    newname: string_t;
        excl: int);

Rename file -- comments similar to those for dir link apply here about EXDEV. If excl is set, then fail if newname already exists in newdirectory.