Lines Matching refs:toname
130 extern int link(const char * fromname, const char * toname);
768 register char * toname; in dolink() local
778 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()
797 result = link(fromname, toname); in dolink()
816 result = symlink(symlinkcontents, toname); in dolink()
832 tp = fopen(toname, "wb"); in dolink()
837 progname, toname, e); in dolink()
851 progname, toname); in dolink()
861 free(toname); in dolink()