zephyr/lib/posix/options/posix_clock.h
Christopher Friedt 855b8bc6ca posix: separate shell utilities and posix api implementation
Previously, the POSIX shell utilities were intermixed with the
POSIX API implementation.

The POSIX shell utilities only depend on the public POSIX API,
so it makes sense to keep them in a separate subdirectory.

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
2024-02-01 05:26:24 -05:00

20 lines
366 B
C

/*
* Copyright (c) 2023, Meta
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_LIB_POSIX_POSIX_CLOCK_H_
#define ZEPHYR_LIB_POSIX_POSIX_CLOCK_H_
#include <time.h>
#include <zephyr/kernel.h>
#include <zephyr/posix/posix_types.h>
__syscall int __posix_clock_get_base(clockid_t clock_id, struct timespec *ts);
#include <syscalls/posix_clock.h>
#endif