zephyr/lib/libc/armstdc/include/limits.h
Kumar Gala 48cd295a7f armstdc: add limits.h header
Add limits.h header that defines PATH_MAX as this is not defined
by the toolchain headers.

The value of 256 for PATH_MAX is based on how it is set in
lib/libc/minimal/include/limits.h.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2023-04-25 12:18:55 +02:00

23 lines
352 B
C

/*
* Copyright (c) 2023 Intel
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_LIMITS_H_
#define ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_LIMITS_H_
#include_next <limits.h>
#ifdef __cplusplus
extern "C" {
#endif
#define PATH_MAX 256
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_LIMITS_H_ */