- Timestamp:
- Jul 18, 2024, 11:00:54 PM (6 months ago)
- Branches:
- master
- Children:
- d7b399f
- Parents:
- e6128959
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/time.cfa
re6128959 re3260aa1 10 10 // Created On : Tue Mar 27 17:24:56 2018 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jul 18 2 1:56:01202413 // Update Count : 6 412 // Last Modified On : Thu Jul 18 22:45:43 2024 13 // Update Count : 65 14 14 // 15 15 … … 18 18 #include <stdlib.h> // putenv 19 19 20 extern "C" size_t malloc_unfreed() { return 3 37; } // unfreed storage from tzset20 extern "C" size_t malloc_unfreed() { return 385; } // unfreed storage from tzset 21 21 22 22 int main() { 23 23 // Set fixed time location to obtain repeatable output where ever run. 24 putenv( "TZ=America/Toronto"); // set fixed time zone24 putenv( "TZ=America/Toronto" ); // set fixed time zone 25 25 tzset(); // set time zone 26 26
Note: See TracChangeset
for help on using the changeset viewer.