"Fossies" - the Fresh Open Source Software Archive

Member "tin-2.4.1/include/plp_snprintf.h" (12 Oct 2016, 664 Bytes) of package /linux/misc/tin-2.4.1.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 "plp_snprintf.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * includes/defines/declarations which are already done by tin.h
    3  * but might be needed if you use plp_snprintf() in other programs
    4  */
    5 
    6 #ifndef PLP_SNPRINTF_H
    7 #   define PLP_SNPRINTF_H 1
    8 
    9 #   ifdef HAVE_CONFIG_H
   10 #       include "config.h"
   11 #   endif /* HAVE_CONFIG_H */
   12 #   include <sys/types.h>
   13 #   include <ctype.h>
   14 #   include <stdlib.h>
   15 #   ifdef HAVE_STRING_H
   16 #       include <string.h>
   17 #   endif /* HAVE_STRING_H */
   18 #   ifdef HAVE_STRINGS_H
   19 #       include <strings.h>
   20 #   endif /* HAVE_STRINGS_H */
   21 #   include <stdio.h>
   22 
   23 /* For testing, define these values */
   24 #   ifdef TEST
   25 #       define HAVE_QUAD_T 1
   26 #       define HAVE_STDARG_H 1
   27 #   endif /* TEST */
   28 
   29     extern int errno;
   30 #endif /* PLP_SNPRINTF_H */