mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-15 11:08:09 +08:00
* Synchronize the code of the rt mart branch to the master branch.
* TTY device
* Add lwP code from rt-smart
* Add vnode in DFS, but DFS will be re-write for rt-smart
* There are three libcpu for rt-smart:
* arm/cortex-a, arm/aarch64
* riscv64
Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
14 lines
242 B
C
14 lines
242 B
C
#ifndef __LIBOS_KTIMER_H__
|
|
#define __LIBOS_KTIMER_H__
|
|
|
|
#include <sys/time.h>
|
|
|
|
struct timespec64 {
|
|
unsigned long tv_sec; /* seconds */
|
|
unsigned long tv_nsec; /* nanoseconds */
|
|
};
|
|
|
|
int do_gettimeofday(struct timespec64 *ts);
|
|
|
|
#endif
|