-

Functions HI-TECH C RENAME

From HI-TECH C for CP/M Fan WIKI(EN)
Revision as of 23:11, 31 July 2017 by Kumokosi (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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