mv'ing files from a C program

Weaver Hickerson wdh at holos0.uucp
Fri Nov 16 09:11:17 AEST 1990


main()
{
link("Oldfile","Newfile");  /* link the Newfile with Oldfile */
unlink("Oldfile");          /* unlink the oldfile */

 /* link and unlink are described in your Programmer's ref manual */
}
-- 
-Weaver Hickerson   Voice (404) 496-1358   :  ..!edu!gatech!holos0!wdh



More information about the Comp.unix.questions mailing list