|
NCBI Home IEB Home C Toolkit docs C++ Toolkit source browser C Toolkit source browser (2) |
NCBI C Toolkit Cross ReferenceC/corelib/ncbilcl.370 |
source navigation diff markup identifier search freetext search file search |
1 /* ncbilcl.h 2 * =========================================================================== 3 * 4 * PUBLIC DOMAIN NOTICE 5 * National Center for Biotechnology Information 6 * 7 * This software/database is a "United States Government Work" under the 8 * terms of the United States Copyright Act. It was written as part of 9 * the author's official duties as a United States Government employee and 10 * thus cannot be copyrighted. This software/database is freely available 11 * to the public for use. The National Library of Medicine and the U.S. 12 * Government have not placed any restriction on its use or reproduction. 13 * 14 * Although all reasonable efforts have been taken to ensure the accuracy 15 * and reliability of the software and data, the NLM and the U.S. 16 * Government do not and cannot warrant the performance or results that 17 * may be obtained by using this software or data. The NLM and the U.S. 18 * Government disclaim all warranties, express or implied, including 19 * warranties of performance, merchantability or fitness for any particular 20 * purpose. 21 * 22 * Please cite the author in any work or product based on this material. 23 * 24 * =========================================================================== 25 * 26 * File Name: ncbilcl.h 27 * 28 * Author: Gish, Kans, Ostell, Schuler 29 * 30 * Version Creation Date: 1/1/91 31 * 32 * $Revision: 6.0 $ 33 * 34 * File Description: 35 * system dependent header 36 * version for IBM 370 AIX 37 * 38 * Modifications: 39 * -------------------------------------------------------------------------- 40 * Date Name Description of modification 41 * ------- ---------- ----------------------------------------------------- 42 * 43 * $Log: ncbilcl.370,v $ 44 * Revision 6.0 1997/08/25 18:15:38 madden 45 * Revision changed to 6.0 46 * 47 * Revision 5.0 1996/05/28 13:18:57 ostell 48 * Set to revision 5.0 49 * 50 Revision 4.0 1995/07/26 13:46:50 ostell 51 force revision to 4.0 52 53 Revision 2.6 1995/05/15 18:45:58 ostell 54 added Log line 55 56 * 57 * 58 * ========================================================================== 59 */ 60 #ifndef _NCBILCL_ 61 #define _NCBILCL_ 62 63 /* PLATFORM DEFINITION FOR IBM 370 AIX */ 64 65 #define COMP_SYSV 66 #define OS_UNIX 67 #define OS_UNIX_SYSV 68 #define PROC_IBM370 69 #define WIN_DUMB 70 71 /*----------------------------------------------------------------------*/ 72 /* Desired or available feature list */ 73 /*----------------------------------------------------------------------*/ 74 #define SYSV_IPC_AVAIL /* System V Interprocess Communication available */ 75 76 /*----------------------------------------------------------------------*/ 77 /* #includes */ 78 /*----------------------------------------------------------------------*/ 79 #include <sys/types.h> 80 #include <limits.h> 81 #include <sys/stat.h> 82 #include <stddef.h> 83 #include <stdio.h> 84 #include <ctype.h> 85 #include <string.h> 86 #include <malloc.h> 87 #include <memory.h> 88 #include <stdlib.h> 89 #include <math.h> 90 #include <errno.h> 91 #include <float.h> 92 93 /*----------------------------------------------------------------------*/ 94 /* Missing ANSI-isms */ 95 /*----------------------------------------------------------------------*/ 96 #define noalias /* "noalias" keyword not accepted by compiler */ 97 #ifndef FILENAME_MAX 98 #define FILENAME_MAX 1024 99 #endif 100 101 /*----------------------------------------------------------------------*/ 102 /* Aliased Logicals, Datatypes */ 103 /*----------------------------------------------------------------------*/ 104 105 /*----------------------------------------------------------------------*/ 106 /* Misc Macros */ 107 /*----------------------------------------------------------------------*/ 108 #define PROTO(x) x /* Prototypes are acceptable */ 109 #define VPROTO(x) x /* Prototype for variable argument list */ 110 #define DIRDELIMCHR '/' 111 #define DIRDELIMSTR "/" 112 #define CWDSTR "." 113 114 #define KBYTE (1024) 115 #define MBYTE (1048576) 116 117 #define IS_BIG_ENDIAN 118 #define TEMPNAM_AVAIL 119 120 /*----------------------------------------------------------------------*/ 121 /* For importing MS_DOS code */ 122 /*----------------------------------------------------------------------*/ 123 #define near 124 #define far 125 #define huge 126 #define cdecl 127 #define pascal 128 #define _pascal 129 #define _near 130 #define _far 131 #define _huge 132 #define _cdecl 133 134 /*----------------------------------------------------------------------*/ 135 /* Macros for Floating Point */ 136 /*----------------------------------------------------------------------*/ 137 #define EXP2(x) exp((x)*LN2) 138 #define LOG2(x) (log(x)*(1./LN2)) 139 #define EXP10(x) exp((x)*LN10) 140 #define LOG10(x) log10(x) 141 142 /*----------------------------------------------------------------------*/ 143 /* Macros Defining Limits */ 144 /*----------------------------------------------------------------------*/ 145 #define MAXALLOC 0x40000000 /* Largest permissible memory request */ 146 147 #endif
|
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more information. |