Searched refs:toname (Results 1 – 1 of 1) sorted by relevance
130 extern int link(const char * fromname, const char * toname);768 register char * toname; in dolink() local778 toname = ecpyalloc(tofield); in dolink()780 toname = ecpyalloc(directory); in dolink()781 toname = ecatalloc(toname, "/"); in dolink()782 toname = ecatalloc(toname, tofield); in dolink()788 if (!itsdir(toname)) in dolink()789 (void) remove(toname); in dolink()790 if (link(fromname, toname) != 0 in dolink()794 if (mkdirs(toname) != 0) in dolink()[all …]