Files
esp-idf/components/esp_libc/platform_include/sys/unistd.h
T
2025-12-03 13:31:42 +07:00

29 lines
495 B
C

/*
* SPDX-FileCopyrightText: 2018-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <sys/types.h>
#include "sdkconfig.h"
#if CONFIG_LIBC_PICOLIBC_NEWLIB_COMPATIBILITY
#include <sys/select.h>
#endif
#include_next <sys/unistd.h>
#ifdef __cplusplus
extern "C" {
#endif
int truncate(const char *, off_t __length);
int gethostname(char *__name, size_t __len);
int getentropy(void *buffer, size_t length);
#ifdef __cplusplus
}
#endif