/*static char *SCCSID = "@(#)main.c	6.2 91/01/14";*/
#define SCCSID "@(#)main.c	6.2 91/01/14"
/*
 *	IBM/Microsoft Confidential
 *
 *	Copyright (c) IBM Corporation 1987, 1989
 *	Copyright (c) Microsoft Corporation 1987, 1989
 *
 *	All Rights Reserved
 *
 */

/***	MAIN.C - Top-level routines
 *
 *	SYS - CDROM version 1.0
 * Paul Bingman, NWSP
 * Copyright 1988, 1989 Microsoft Corporation
 *
 * This CDROM version was adapted from the Pinball version by
 *	Gregory A. Jones
 *
 *	Modification history:
 *	Paul Bingman  8/22/89  Original CDROM
 */

#define INCL_BASE
#define  INCL_NOPMAPI

#include <os2.h>
#include "defs.h"
#include "ldefs.h"
#include "gdata.h"


/***	sys - main routine
 *
 *	This function is the top-level routine for SYS.
 *
 *	sys (argc, argv, envp)
 *
 *	ENTRY  argc - count of command line arguments
 *        argv - list of command line arguments
 *        envp - list of environment strings
 *
 *	EXIT   Always returns error (can't perform function)
 *
 *	CALLS  error_msg()
 *
 *	WARNINGS None
 *
 *	EFFECTS  None
 */


USHORT pascal
sys (argc, argv, envp)
USHORT      argc;
UCHAR       **argv;
UCHAR       **envp;
{
	error_msg(SYS_FUNC_ERROR);				/* display error message */
	return (ERROR_INVALID_FUNCTION);		/*   and exit */

	/*
	 * the following passed variables are referenced
	 * to kill the warning messages from the compiler
	 */

	argc;
	argv;
	envp;
}

/* end of main.c (CDROM - SYS) */

