⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smcpyrt.c

📁 基于单片机的 snmp协议解析的一些原代码 给有用的 同行
💻 C
字号:
/*
 * Copyright 1992 SynOptics Communications, Inc.  All Rights Reserved.
 * SynOptics grants a non-exclusive license to use, copy, modify, and
 * distribute this software for any purpose and without fee, provided
 * that this copyright notice and license appear on all copies and
 * supporting documentation.
 * SynOptics makes no representations about the suitability of this
 * software for any particular purpose.  The software is supplied
 * "AS IS", and SynOptics makes no warranty, either express or implied,
 * as to the use, operation, condition, or performance of the software.
 * SynOptics retains all title and ownership in the software.
 *
 * file: SMCPYRT.C - Copyright stuff
 *
 * $Revision:   1.6  $ $Date:   27 Jul 1992 19:47:38  $
 * $Log:   R:/MIBTOOLS/V1.0/SMIC/SRC/SMCPYRT.C_V  $
 * 
 *    Rev 1.6   27 Jul 1992 19:47:38   gfoster
 * Changed Copyright message.
 * 
 * Value for program version and date updated.
 * 
 *    Rev 1.5   08 Jul 1992 17:27:34   gfoster
 * Removed unnecessary revision comment lines added by
 * PVCS to make revision history easier to read.
 * 
 *    Rev 1.4   08 Jul 1992 16:43:08   gfoster
 * Value for program version and date updated.
 * 
 *    Rev 1.3   29 Jun 1992 21:05:16   gfoster
 * Value for program version and date updated.
 * 
 *    Rev 1.2   29 Jun 1992 20:12:58   gfoster
 * Value for program version and date updated.
 * 
 *    Rev 1.1   19 Jun 1992 15:56:42   gfoster
 * Copyright text was reformated.
 * 
 * Value for program version and date updated.
 * 
 * The "printf" statements were changed to
 * "fprintf(fhMsg".
 * 
 *    Rev 1.0   27 May 1992 15:56:32   gfoster
 * Initial revision.
 *
*/

#include <stdio.h>

#ifdef MS_DOS
#include <stdlib.h>
#endif /* MS_DOS */

#include "tds.h"
#include "smscdefs.h"
#include "smstdefs.h"
#include "smsydefs.h"
#include "smic.h"

#define firstPart "$@(#) SynOptics Communications, Inc."

CHAR ver[] =
  "$@(#) SynOptics Communications, Inc. SMIC version 1.0.9, July 23, 1992.";


/** prCpyrt - print copyright message
*
*/
    VOID
#ifdef __STDC__
prCpyrt(VOID)
#else
prCpyrt()
#endif /* __STDC__ */
{
    fprintf(fhMsg,
        "Copyright 1992 SynOptics Communications, Inc. All Rights Reserved.\n");
    fprintf(fhMsg,
        "SynOptics grants a non-exclusive license to use, copy, modify, and\n");
    fprintf(fhMsg,
        "distribute this software for any purpose and without fee, provided\n");
    fprintf(fhMsg,
        "that this copyright notice and license appear on all copies and\n");
    fprintf(fhMsg,
        "supporting documentation.\n");
    fprintf(fhMsg,
        "SynOptics makes no representations about the suitability of this\n");
    fprintf(fhMsg,
        "software for any particular purpose.  The software is supplied\n");
    fprintf(fhMsg,
        "\"AS IS\", and SynOptics makes no warranty, either express or implied,\n");
    fprintf(fhMsg,
        "as to the use, operation, condition, or performance of the software.\n");
    fprintf(fhMsg,
        "SynOptics retains all title and ownership in the software.\n");
    fprintf(fhMsg,
        "For assistance or to report bugs send EMAIL to\n");
    fprintf(fhMsg,
        "    dperkins@synoptics.com.\n");
} /* prCpyrt */


/** prVer - print version message
*
*/
    VOID
#ifdef __STDC__
prVer(VOID)
#else
prVer()
#endif /* __STDC__ */
{
    fprintf(fhMsg,
        "%s\n", &ver[sizeof(firstPart)]);

} /* prVer */


/** getVer - get version string
*
*/
    PSZ
#ifdef __STDC__
getVer(VOID)
#else
getVer()
#endif /* __STDC__ */
{
    return(&ver[sizeof(firstPart)]);
} /* getVer */


/* end of file: SMCPYRT.C */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -