@web-font-path: "roboto-debian.css";
Loading...
Searching...
No Matches
time.h
1/*
2 * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef _PICO_LLVM_LIBC_SYS_TIME_H
8#define _PICO_LLVM_LIBC_SYS_TIME_H
9
10#include <__llvm-libc-common.h>
11
12#include <llvm-libc-types/time_t.h>
13#include <llvm-libc-types/struct_timespec.h>
14
15typedef long suseconds_t;
16
17struct timeval {
18 time_t tv_sec;
19 suseconds_t tv_usec;
20};
21
22struct timezone {
23 int tz_minuteswest;
24 int tz_dsttime;
25};
26
27__BEGIN_C_DECLS
28
29int gettimeofday(struct timeval *tv, struct timezone *tz);
30int settimeofday(const struct timeval *tv, const struct timezone *tz);
31
32__END_C_DECLS
33
34#endif // _PICO_LLVM_LIBC_SYS_TIME_H
Definition time.h:17
Definition time.h:22