003 File Manager
Current Path:
/usr/src/contrib/ldns/compat
usr
/
src
/
contrib
/
ldns
/
compat
/
📁
..
📄
b64_ntop.c
(7.25 KB)
📄
b64_pton.c
(8.47 KB)
📄
calloc.c
(415 B)
📄
ctime_r.c
(262 B)
📄
fake-rfc2553.c
(6.07 KB)
📄
fake-rfc2553.h
(5.26 KB)
📄
gmtime_r.c
(231 B)
📄
inet_aton.c
(5.33 KB)
📄
inet_ntop.c
(5.48 KB)
📄
inet_pton.c
(5.15 KB)
📄
isascii.c
(225 B)
📄
isblank.c
(255 B)
📄
localtime_r.c
(237 B)
📄
malloc.c
(397 B)
📄
memmove.c
(953 B)
📄
realloc.c
(567 B)
📄
snprintf.c
(28.66 KB)
📄
strlcpy.c
(1.63 KB)
📄
timegm.c
(414 B)
Editing: timegm.c
#ifdef HAVE_CONFIG_H #include <ldns/config.h> #endif #include <stdio.h> #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif #include <time.h> time_t timegm (struct tm *tm) { time_t ret; char *tz; tz = getenv("TZ"); putenv((char*)"TZ="); tzset(); ret = mktime(tm); if (tz) { char buf[256]; snprintf(buf, sizeof(buf), "TZ=%s", tz); putenv(tz); } else putenv((char*)"TZ"); tzset(); return ret; }
Upload File
Create Folder