Exemplo n.º 1
0
int NSLmain(int argc,char *argv[])
{	char tmp_buff[256];	char *ap=tmp_buff;
	*ap='\0'; ++argv; --argc;
	while(argc--) {ap=fcat(ap,*argv); ap=fcat(ap," "); ++argv;}
	nsl_mon_wnds();
	nsl_monitor(tmp_buff);
	return(0);
}
Exemplo n.º 2
0
int f2cat (char *dir, char *file)
{
	char buf [256];

	strcpy (buf, dir);
	strcat (buf, "/");
	strcat (buf, file);
	return (fcat (buf, 9999));
}