Quantcast
Channel: Webminal - Latest topics
Viewing all articles
Browse latest Browse all 484

Prog#239: ln command

$
0
0

@angala wrote:

/*
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");
}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 484

Trending Articles