esp-idf/components/linux/linux_include/strings.h
2024-02-07 17:56:16 +08:00

24 lines
376 B
C

/*
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
* This is a helper include for fls(), which is present in the ESP-IDF toolchains and MacOS, but not on Linux.
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
int fls(unsigned int value);
#ifdef __cplusplus
}
#endif
#include_next <strings.h>