"Fossies" - the Fresh Open Source Software Archive

Member "poppler-0.82.0/goo/glibc.h" (25 Oct 2019, 829 Bytes) of package /linux/misc/poppler-0.82.0.tar.xz:


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 "glibc.h" see the Fossies "Dox" file reference documentation.

    1 //========================================================================
    2 //
    3 // glibc.h
    4 //
    5 // Emulate various non-portable glibc functions.
    6 //
    7 // This file is licensed under the GPLv2 or later
    8 //
    9 // Copyright (C) 2016, 2017 Adrian Johnson <ajohnson@redneon.com>
   10 // Copyright (C) 2017 Albert Astals Cid <aacid@kde.org>
   11 //
   12 //========================================================================
   13 
   14 #ifndef GLIBC_H
   15 #define GLIBC_H
   16 
   17 #include "config.h"
   18 
   19 #include <time.h>
   20 
   21 #ifndef HAVE_GMTIME_R
   22 struct tm *gmtime_r(const time_t *timep, struct tm *result);
   23 #endif
   24 
   25 #ifndef HAVE_LOCALTIME_R
   26 struct tm *localtime_r(const time_t *timep, struct tm *result);
   27 #endif
   28 
   29 #ifndef HAVE_TIMEGM
   30 time_t timegm(struct tm *tm);
   31 #endif
   32 
   33 #ifndef HAVE_STRTOK_R
   34 char * strtok_r (char *s, const char *delim, char **save_ptr);
   35 #endif
   36 
   37 #endif // GLIBC_H
   38