[RTEMS Project] #2697: Function for getting a time_t from a struct tm in UTC (like timegm on Linux and BSD)

RTEMS trac trac at rtems.org
Wed Apr 20 17:37:54 UTC 2016


#2697: Function for getting a time_t from a struct tm in UTC (like timegm on Linux
and BSD)
--------------------------------+-------------------
 Reporter:  Christian Mauderer  |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:
Component:  Newlib              |     Version:  4.12
 Severity:  normal              |  Resolution:
 Keywords:                      |
--------------------------------+-------------------

Comment (by joel.sherrill):

 I only found this method in the crypto library in FreeBSD:

 https://github.com/freebsd/freebsd/blob/master/crypto/heimdal/lib/asn1/timegm.c

 Is it anywhere else in FreeBSD?

 I am not opposed to pursuing it being added to newlib.

--
Ticket URL: <http://devel.rtems.org/ticket/2697#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list