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

📄 includes.h

📁 ASN.1语法解析代码
💻 H
字号:
#ifndef _INCLUDES_H
#define _INCLUDES_H
/*****************************************************************************
File:     INCLUDES.h
Contents: The include file that deals with system dependent includes.
System:   ASN/IOS development.
Created:  14-Jul-1994
Author:   jlowry

Remarks:

COPYRIGHT 1994, 1995 BBN Systems and Technologies, A Division of Bolt Beranek
    and Newman Inc.
150 CambridgePark Drive
Cambridge, Ma. 02140
617-873-4000
*****************************************************************************/
/* $Header: /nfs/sub-rosa/u2/IOS_Project/ASN/Dev/rcs/cmd/asn_gen/includes.h,v 1.4 1995/08/22 15:10:51 gardiner Exp $ */

#include <stdio.h>
#include <stdlib.h>
//#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <time.h>
//#include <termios.h>
#include <math.h>
#include <string.h>
#include <sys/types.h>
//#include <sys/time.h> 
//#include <sys/wait.h> 
#include <sys/stat.h> 
//#include <sys/syscall.h>
//#include <sys/file.h> 
#include <signal.h>   
//#include <pwd.h>      
//#include <sys/param.h>
//#include <dirent.h>   
#include <memory.h>
#include <io.h>

#ifdef _sunos4
#ifdef __cplusplus
extern "C"
    {
#endif
    extern int puts (const char *);
    extern int fprintf (FILE *, const char *, ...);
    extern int fclose (FILE *);
    extern int printf (const char *, ...);
    extern int fflush (FILE *);
    extern int fseek (FILE *, long int, int);
    extern int fputs (const char *, FILE *);
    extern int fclose (FILE *);
#ifdef __cplusplus
    };
#endif

#include <sysexits.h> 
#else /* _sunos5 */
/* 
   we are using sendmail to transport messages to/from the ESTS.  The
   returned status codes from sendmail that we are interested in are
   EX_OK (0)        -- successful termination
   EX_TEMPFAIL (75) -- temporary failure, indicating something that
                       is not really an error.  In sendmail, this means
		       that a mailer (e.g.) could not create a connection,
		       and the request should be reattempted later.
   Rather than include /usr/ucbinclude/sysexits.h (where these are defined) 
   we will define them here for sunos5.
*/

# define EX_OK          0       /* successful termination */
# define EX_TEMPFAIL    75      /* temp failure; user is invited to retry */
#endif /* _sunos5 */

#endif /* _INCLUDES_H */

⌨️ 快捷键说明

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