-

Functions HI-TECH C RENAME

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search

RENAME

SYNOPSIS

#include  <stdio.h>

int rename(char * name1, char * name2)


DESCRIPTION

The file named by name1 will be renamed to name2. -1 will be returned if the rename was not successful. Note that renames across user numbers or drives are not permitted.

SEE ALSO

open, close, unlink