msp430_types.h

basic types for MSP430

EINVAL

defining signed type for size_t

1
(28)

defines EINVAL if MSP430 toolchain is too old to provide it itself via errno.h

EOVERFLOW

defines EOVERFLOW if MSP430 toolchain is too old to provide it itself via errno.h

1
(65)
unsigned long time_t

Definition of time_t for the MSP430.

Remove once msp430 libc supports time_t

int32_t blkcnt_t

Used for file block counts.

int32_t blksize_t

Used for block sizes.

uint32_t clock_t

Used for system times in clock ticks.

uint32_t clockid_t

Used for clock ID type in the clock and timer functions.

int16_t dev_t

Used for device IDs.

uint32_t fsblkcnt_t

Used for file system block counts.

uint32_t fsfilcnt_t

Used for file system file counts.

uint16_t gid_t

Used for group IDs.

uint16_t id_t

Used as a general identifier.

uint32_t ino_t

Used for file serial numbers.

uint32_t key_t

Used for XSI interprocess communication.

uint32_t mode_t

Used for some file attributes.

uint16_t nlink_t

Used for link counts.

int32_t off_t

Used for file sizes and offsets.

int pid_t

Used for process IDs and process group IDs.

unsigned int size_t

Used for sizes of objects.

signed int ssize_t

Used for a count of bytes or an error indication.

int32_t suseconds_t

Used for time in microseconds.

uint32_t timer_t

Used for timer ID returned by timer_create()

uint16_t uid_t

Used for user IDs.

uint32_t useconds_t

Used for time in microseconds.

struct timespec

Definition of struct timespec for the MSP430.

Remove once msp430 libc supports struct timespec

msp430_types.h::time_t tv_sec

seconds

long tv_nsec

nanoseconds

struct timeval

Definition of struct timeval for the MSP430.

Remove once msp430 libc supports struct timeval

msp430_types.h::time_t tv_sec

seconds

msp430_types.h::time_t tv_usec

microseconds