Skip to: Abstract | Comments | Solution | Migration | Download
APAR NUMBER: PJ29937 PRODUCT: TPF4 FUNCTIONAL AREA: ISO-C SUPPORT SHIPPED IN PUT: 19 ABSTRACT: Move the gettimeofday prototype into sys/time.h APAR CONTENTS: FEATURE TYPE STATUS NAME Base CHeader Changed include/sysgtime.h Base CHeader Changed include/time.h PREREQUISITE APARS: To be applied in order listed. Base CHeader Changed include/sysgtime.h PJ26174(10) PJ26575(11) PJ26714(12) PJ28021(15) PJ28152(15) Base CHeader Changed include/time.h PJ29630(19) COMMENTS: To ensure that code is portable across standards, the gettimeofday() function and its necessary structures and macros must be declared in sys/time.h rather than sysgtime.h. This is a "single-source" APAR. SOLUTION: Move the gettimeofday() prototype and all of the data types and macros that gettimeofday() needs from sysgtime.h to sys/time.h. sysgtime.h now includes sys/time.h, so no coding changes are necessary to retain functionality. However, all future code that uses gettimeofday() should include sys/time.h rather than sysgtime.h to conform to portability standards. This is a "single-source" APAR. DEPENDENCIES SEGMENTS TO BE ASSEMBLED OR COMPILED: None. SEGMENTS TO BE LINK EDITED: None. COREQS: None. MIGRATION CONSIDERATIONS: None. UPDATED INFORMATION UNITS: TPF C/C++ Language Support User's Guide See your IBM representative if you need additional information. DOWNLOAD INSTRUCTIONS: http://www.ibm.com/software/htp/tpf/pages/maint.htm -- END APAR PJ29937
Download file(s): Login once to access server, leave window open, then click on link(s) below.Source
