Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
fcntl.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Meta
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_FCNTL_H_
8#define ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_FCNTL_H_
9
10#ifndef CONFIG_POSIX_API
11#pragma message("#include <fcntl.h> without CONFIG_POSIX_API is deprecated. " \
12 "Please use CONFIG_POSIX_API or #include <zephyr/posix/fcntl.h>")
13#endif
14#include <zephyr/posix/fcntl.h>
15
16#endif /* ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_SYS_FCNTL_H_ */