config.dist: [Previous] [Up to Table of Contents] [Next]
##
##  4.  C LIBRARY DIFFERENCES
##  Use stdargs, varargs, or neither?  Pick VARARGS STDARGS or NONE.
##  You need vfprintf and vfsprintf if not NONE.
#### =()<VAR_STYLE              @<VAR_STYLE>@>()=
VAR_STYLE               STDARGS
##  If you don't have <string.h>, set this to "mystring.h"
#### =()<STR_HEADER             @<STR_HEADER>@>()=
STR_HEADER              <string.h>
##  If you don't have <memory.h>, set this to "mymemory.h"
#### =()<MEM_HEADER             @<MEM_HEADER>@>()=
MEM_HEADER              <memory.h>
##  What is a file offset?  MUST BE LONG FOR NOW.
#### =()<OFFSET_T               @<OFFSET_T>@>()=
OFFSET_T                long
##  What is the type of an object size? Usually size_t or unsigned int.
#### =()<SIZE_T                 @<SIZE_T>@>()=
SIZE_T                  size_t
##  What is the type of a passwd uid and gid, for use in chown(2)?
#### =()<UID_T                  @<UID_T>@>()=
UID_T                   uid_t
#### =()<GID_T                  @<GID_T>@>()=
GID_T                   gid_t
##  Type of a pid, for use in kill(2).
#### =()<PID_T                  @<PID_T>@>()=
PID_T                   pid_t
##  Generic pointer, used by memcpy, malloc, etc.  Usually char or void.
#### =()<POINTER                        @<POINTER>@>()=
POINTER                 void
##  Worst-case alignment, in order to shut lint up
#### =()<ALIGNPTR               @<ALIGNPTR>@>()=
ALIGNPTR                int
##  What should a signal handler return?  Usually int or void.
#### =()<SIGHANDLER             @<SIGHANDLER>@>()=
SIGHANDLER              void
##  Type of variables can be modified in a signal handler? sig_atomic_t
#### =()<SIGVAR                 @<SIGVAR>@>()=
SIGVAR                  sig_atomic_t
##  Function that returns no value, and a pointer to it.  Pick int or void
#### =()<FUNCTYPE               @<FUNCTYPE>@>()=
FUNCTYPE                void
##  Type of 32 bit unsigned integer.
#### =()<U_INT32_T                      @<U_INT32_T>@>()=
U_INT32_T                       unsigned int
##  Type of 32 bit signed integer.
#### =()<INT32_T                        @<INT32_T>@>()=
INT32_T                 int
##  Use BSD4.2 or Posix directory names?  Pick DIRENT or DIRECT.
#### =()<DIR_STYLE              @<DIR_STYLE>@>()=
DIR_STYLE               DIRENT
##  Use flock, lockf, or nothing to lock files?
##  Pick FLOCK, LOCKF, FCNTL, or NONE
#### =()<LOCK_STYLE             @<LOCK_STYLE>@>()=
LOCK_STYLE              FLOCK
##  Do you have <unistd.h>?  Pick DO or DONT
#### =()<HAVE_UNISTD            @<HAVE_UNISTD>@>()=
HAVE_UNISTD             DO
##  Do you have setbuffer?  Pick DO or DONT.
#### =()<HAVE_SETBUFFER         @<HAVE_SETBUFFER>@>()=
HAVE_SETBUFFER          DO
##  Do you have gettimeofday?  Pick DO or DONT.
#### =()<HAVE_GETTIMEOFDAY      @<HAVE_GETTIMEOFDAY>@>()=
HAVE_GETTIMEOFDAY       DO
##  Do you have setproctitle()?  Pick DO or DONT.
##  You may need to adjust LIBS for this.
#### =()<HAVE_SETPROCTITLE      @<HAVE_SETPROCTITLE>@>()=
HAVE_SETPROCTITLE       DO
##  Do you have fchmod?  Pick DO or DONT.
#### =()<HAVE_FCHMOD            @<HAVE_FCHMOD>@>()=
HAVE_FCHMOD             DO
##  Do you have setsid()?  Pick DO or DONT.
#### =()<HAVE_SETSID            @<HAVE_SETSID>@>()=
HAVE_SETSID             DO
##  Does your (struct tm) have a tm_gmtoff field?  Pick DO or DONT.
#### =()<HAVE_TM_GMTOFF         @<HAVE_TM_GMTOFF>@>()=
HAVE_TM_GMTOFF          DO
##  Does your (struct stat) have a st_blksize field?  Pick DO or DONT.
#### =()<HAVE_ST_BLKSIZE                @<HAVE_ST_BLKSIZE>@>()=
HAVE_ST_BLKSIZE         DO
##  Use waitpid instead of wait3?  Pick DO or DONT.
#### =()<HAVE_WAITPID           @<HAVE_WAITPID>@>()=
HAVE_WAITPID            DO
##  Use "union wait" instead of int?  Pick DO or DONT.
#### =()<USE_UNION_WAIT         @<USE_UNION_WAIT>@>()=
USE_UNION_WAIT          DONT
##  How to fork?  Pick fork or vfork.
#### =()<FORK                   @<FORK>@>()=
FORK                    vfork
##  Do you have <vfork.h>?  Pick DO or DONT.
#### =()<HAVE_VFORK             @<HAVE_VFORK>@>()=
HAVE_VFORK              DONT
##  Do you have symbolic links?  Pick DO or DONT.
#### =()<HAVE_SYMLINK           @<HAVE_SYMLINK>@>()=
HAVE_SYMLINK            DO
##  Do you have Unix-domain sockets?  Pick DO or DONT.
#### =()<HAVE_UNIX_DOMAIN       @<HAVE_UNIX_DOMAIN>@>()=
HAVE_UNIX_DOMAIN        DO
##  Does your AF_UNIX bind use sizeof for the socket size?  Pick DO or DONT.
#### =()<BIND_USE_SIZEOF                @<BIND_USE_SIZEOF>@>()=
BIND_USE_SIZEOF         DO
##  How should close-on-exec be done?  Pick IOCTL or FCNTL.
#### =()<CLX_STYLE              @<CLX_STYLE>@>()=
CLX_STYLE               IOCTL
##  How should non-blocking I/O be done?  Pick IOCTL or FCNTL.
#### =()<NBIO_STYLE             @<NBIO_STYLE>@>()=
NBIO_STYLE              FCNTL
##  How should resource-totalling be done?  Pick RUSAGE or TIMES
#### =()<RES_STYLE              @<RES_STYLE>@>()=
RES_STYLE               RUSAGE
##  How to get number of available descriptors?
##  Pick GETDTAB, GETRLIMIT, SYSCONF, ULIMIT, or CONSTANT.
####  =()<FDCOUNT_STYLE         @<FDCOUNT_STYLE>@>()=
FDCOUNT_STYLE           GETRLIMIT
##  If greater than -1, then use [gs]etrlimit to set that many descriptors.
##  If -1, then no [gs]etrlimit calls are done.
#### =()<NOFILE_LIMIT           @<NOFILE_LIMIT>@>()=
NOFILE_LIMIT            -1
##  Do you need <time.h> as well as <sys/time.h>?  Pick DO or DONT.
#### =()<NEED_TIME              @<NEED_TIME>@>()=
NEED_TIME               DONT
##  What predicate, if any, the <ctype.h> macros need
#### =()<CTYPE                  @<CTYPE>@>()=
CTYPE                   (isascii((c)) && isXXXXX((c)))
#CTYPE                  ((c) > 0 && isXXXXX((c)))
#CTYPE                  isXXXXX((c))
##  What's the return type of abort?  Usually int or void.
#### =()<ABORTVAL               @<ABORTVAL>@>()=
ABORTVAL                void
##  What's the return type of alarm?  Usually int or unsigned int.
#### =()<ALARMVAL               @<ALARMVAL>@>()=
ALARMVAL                unsigned int
##  What's the return type of getpid?  Usually int or unsigned int.
#### =()<GETPIDVAL              @<GETPIDVAL>@>()=
GETPIDVAL               pid_t
##  What's the return type of sleep?  Usually int or unsigned int.
#### =()<SLEEPVAL               @<SLEEPVAL>@>()=
SLEEPVAL                unsigned int
##  What's the return type of  qsort?  Usually int or void.
#### =()<QSORTVAL               @<QSORTVAL>@>()=
QSORTVAL                void
##  What's the return type of lseek?  Usually long or off_t.
#### =()<LSEEKVAL               @<LSEEKVAL>@>()=
LSEEKVAL                off_t
##  What's the return type of free?  Usually int or void.
#### =()<FREEVAL                        @<FREEVAL>@>()=
FREEVAL                 void
##  What's the return type of exit?  Usually int or void.
##  (For gcc (not pedantic ANSI) use "volatile void" in EXITVAL and _EXITVAL.)
#### =()<EXITVAL                        @<EXITVAL>@>()=
EXITVAL                 void
##  What's the return type of _exit?  Usually int or void.
#### =()<_EXITVAL               @<_EXITVAL>@>()=
_EXITVAL                void


config.dist: [Source:"INN 1.5.1 config.dist"] [Revision: 1.64] [Copyright: 1997 Internet Software Consortium]
config.dist:[Previous][Up to Table of Contents] [Next]
This is from the Mib Software Usenet RKT

-B-r-o-a-d-e-n- your knowledge

Up to: INN 1.5.1 config.dist
Introduction to the INN config file

Examine in depth

Notes for this section at: Installing INN: config.data 4.2.4. C library differences

RKT Rapid-Links:[Search] [RKT Tips] Path: / Usenet RKT / For Providers / INN Setup and Changes / INN 1.5.1 config.dist / 0005.htm

You can find a summary and links related to this topic
as part of the Mib Software Usenet RKT.