-

Difference between revisions of "Functions HI-TECH C RENAME"

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search
(Created page with "<strong>RENAME</strong> ==SYNOPSIS== #include <stdio.h> int rename(char * name1, char * name2) ==DESCRIPTION== The file named by name1 will be renamed to name2. -1...")
 
(No difference)

Latest revision as of 23:11, 31 July 2017

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