* Move 'struct _timespec' into sys/_timespec.h as expected by <posix/time.h>. * Introduce 'struct timeval' in sys/_timeval.h as expected by <posix/time.h>. * Add mode_t to <sys/types.h> as expected by <posix/stat.h> Signed-off-by: Kumar Gala <kumar.gala@intel.com>
18 lines
332 B
C
18 lines
332 B
C
/*
|
|
* Copyright (c) 2023 Intel
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_SYS__TIMESPEC_H_
|
|
#define ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_SYS__TIMESPEC_H_
|
|
|
|
#include <sys/types.h>
|
|
|
|
struct timespec {
|
|
time_t tv_sec;
|
|
long tv_nsec;
|
|
};
|
|
|
|
#endif /* ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_SYS__TIMESPEC_H_ */
|