| iMatix home page
| << | < | > | >>
SFL Logo SFL
Version 1.91

 

file_rename

#include "sflfile.h"
int
file_rename (
    const char *oldname,
    const char *newname)

Synopsis

Renames a file from oldname to newname. Returns 0 if okay, or - 1 if there was an error. Does not overwrite existing files.

Source Code - (sflfile.c)

{
    ASSERT (oldname);
    ASSERT (newname);

    return (rename (oldname, newname));
}

| << | < | > | >> iMatix Copyright © 1996-98 iMatix