Go to the previous, next section.

rename

SYNOPSIS

int rename(const char *src, const char *dest);

PARAMETERS

src: [in] the file to more/rename.

dest: [in] the new name or place for the file.

DESCRIPTION

Renames and move files. The destination is overwriten if it already exists.

RETURN VALUE

On success, returns zero. On error, returns -1 and sets errno to one of the following value:

Go to the previous, next section.