Lines Matching defs:toname
130 extern int link(const char * fromname, const char * toname);
768 register char * toname;
778 toname = ecpyalloc(tofield);
780 toname = ecpyalloc(directory);
781 toname = ecatalloc(toname, "/");
782 toname = ecatalloc(toname, tofield);
788 if (!itsdir(toname))
789 (void) remove(toname);
790 if (link(fromname, toname) != 0
794 if (mkdirs(toname) != 0)
797 result = link(fromname, toname);
816 result = symlink(symlinkcontents, toname);
832 tp = fopen(toname, "wb");
837 progname, toname, e);
851 progname, toname);
861 free(toname);