Prog#239: ln command


#1
/*
ln command
Program#239
*/
#include<stdio.h>
main(int argc,char *argv[])
{
int i;
if(argc!=3)
{
printf("error: no.of arg");
return 0;
}
i=link(argv[1], argv[2]);
if(i==0)
printf("link established");
else
printf("link not established");
}