dslinux/user/perl/NetWare/testnlm/echo echo.c

cayenne dslinux_cayenne at user.in-berlin.de
Mon Dec 4 17:59:00 CET 2006


Update of /cvsroot/dslinux/dslinux/user/perl/NetWare/testnlm/echo
In directory antilope:/tmp/cvs-serv17422/NetWare/testnlm/echo

Added Files:
	echo.c 
Log Message:
Adding fresh perl source to HEAD to branch from

--- NEW FILE: echo.c ---
/**********************************************************************
*
*	C Source:		echo.c
*	Instance:		idc_rads_2
*	Description:	DOS echo Emulation
*	%created_by:	smscm %
*	%date_created:	Fri Apr 20 19:05:31 2001 %
*
**********************************************************************/
#ifndef lint
static char *_csrc = "@(#) %filespec: echo.c~1 %  (%full_filespec: echo.c~1:csrc:idc_rads#3 %)";
#endif

#include <stdio.h>
//#include <process.h>
#include "clibstuf.h"

void main (int argc, char** argv)
{
  fnInitGpfGlobals();
  if (argc>1 && argv[1]!=NULL && strcmp(argv[1],"-d")==0) {
    int n;
    for (n=0; n < argc; n++) {
      printf("%2d: '%s'\n", n, argv[n]);
    }
  } else {
    while (--argc) {
      printf("%s%c", *++argv, argc==1 ? '\n' : ' ');
    }
  }
}




More information about the dslinux-commit mailing list