"Fossies" - the Fresh Open Source Software Archive

Member "pidentd-3.0.19/src/system.h" (20 Jan 1999, 937 Bytes) of package /linux/misc/old/pidentd-3.0.19.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "system.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2 ** system.h - Compatibility definitions for various systems.
    3 **
    4 ** Copyright (c) 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
    5 **       1997 Peter Eriksson <pen@lysator.liu.se>
    6 **
    7 ** This program is free software; you can redistribute it and/or
    8 ** modify it as you wish - as long as you don't claim that you wrote
    9 ** it.
   10 **
   11 ** This program is distributed in the hope that it will be useful,
   12 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
   13 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   14 */
   15 
   16 #ifndef PIDENTD_SYSTEM_H
   17 #define PIDENTD_SYSTEM_H
   18 
   19 #ifndef F_OK
   20 #define F_OK 0
   21 #endif
   22 
   23 #ifndef INADDR_LOOPBACK
   24 #define INADDR_LOOPBACK 0x7F000001U
   25 #endif
   26 
   27 #ifndef IPPORT_IDENT
   28 #define IPPORT_IDENT 113
   29 #endif
   30 
   31 #ifndef LOG_ODELAY
   32 #define LOG_ODELAY 0
   33 #endif
   34 
   35 #ifndef STDIN_FILENO
   36 #define STDIN_FILENO 0
   37 #endif
   38 
   39 #ifndef EXIT_SUCCESS
   40 #define EXIT_SUCCESS 0
   41 #endif
   42 
   43 #ifndef EXIT_FAILURE
   44 #define EXIT_FAILURE 1
   45 #endif
   46 
   47 #endif