IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

timeval Struct Reference
[Socket type definitions]

Time structure. More...

Detailed Description

Time interval storage, used by the socket API function select(). Note that the wait time resolution within the select() implementation is only to milliseconds. The maximum wait time supported is 2**31 milliseconds (~ 24 days). Higher values will result in undefined behavior.

If the Beck C-library header file TCPIP_Types.h containing this structure definition is included prior to the GNU standard C-library <sys/time.h> header file, then a "redefinition of 'struct timeval'" error will occur. When both header files are used, this Beck header file must be included after the GNU standard C-library <sys/time.h> header file in order to avoid this error.

SC2x3 V1.00 - CLIB V1.00
CLIB V1.40: Exclude this second definition when <sys/time.h> was already included.

Data Fields

long tv_sec
long tv_usec

Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:40 2017 by Doxygen 1.6.1