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

📄 lib.h

📁 早期freebsd实现
💻 H
字号:
// -*- C++ -*-/* Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.     Written by James Clark (jjc@jclark.com)This file is part of groff.groff is free software; you can redistribute it and/or modify it underthe terms of the GNU General Public License as published by the FreeSoftware Foundation; either version 2, or (at your option) any laterversion.groff is distributed in the hope that it will be useful, but WITHOUT ANYWARRANTY; without even the implied warranty of MERCHANTABILITY orFITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public Licensefor more details.You should have received a copy of the GNU General Public License alongwith groff; see the file COPYING.  If not, write to the Free SoftwareFoundation, 675 Mass Ave, Cambridge, MA 02139, USA. */extern "C" {  char *strerror(int);#ifndef __BORLANDC__  const char *itoa(int);  const char *iftoa(int, int);#endif /* __BORLANDC__ */};#ifdef STDLIB_H_DECLARES_GETOPT#include <stdlib.h>#else /* not STDLIB_H_DECLARES_GETOPT */#ifdef UNISTD_H_DECLARES_GETOPT#include <sys/types.h>#include <unistd.h>#else /* not UNISTD_H_DECLARES_GETOPT */extern "C" {  int getopt(int, char **, const char *);}#endif /* not UNISTD_H_DECLARES_GETOPT */extern "C" {  extern char *optarg;  extern int optind;  extern int opterr;}#endif /* not STDLIB_H_DECLARES_GETOPT */char *strsave(const char *s);int is_prime(unsigned);#include <stdio.h>FILE *xtmpfile();int interpret_lf_args(const char *p);extern char illegal_char_table[];inline int illegal_input_char(int c){  return c >= 0 && illegal_char_table[c];}#ifdef HAVE_CC_LIMITS_H#include <limits.h>#else /* not HAVE_CC_LIMITS_H */#define INT_MAX 2147483647#endif /* not HAVE_CC_LIMITS_H *//* It's not safe to rely on people getting INT_MIN right (ie signed). */#ifdef INT_MIN#undef INT_MIN#endif#ifdef CFRONT_ANSI_BUG/* This works around a bug in cfront 2.0 used with ANSI C compilers. */#define INT_MIN ((long)(-INT_MAX-1))#else /* not CFRONT_ANSI_BUG */#define INT_MIN (-INT_MAX-1)#endif /* not CFRONT_ANSI_BUG *//* Maximum number of digits in the decimal representation of an int(not including the -). */#define INT_DIGITS 10/* ad_delete deletes an array of objects with destructors;a_delete deletes an array of objects without destructors */#ifdef ARRAY_DELETE_NEEDS_SIZE/* for 2.0 systems */#define ad_delete(size) delete [size]#define a_delete delete#else /* not ARRAY_DELETE_NEEDS_SIZE *//* for ARM systems */#define ad_delete(size) delete []#define a_delete delete []#endif /* not ARRAY_DELETE_NEEDS_SIZE */

⌨️ 快捷键说明

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