mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
adb79a4852
* Added C++ sentinels if missed * Used #pragma once, removed macro's with leading underscores * Updated copyright checker to allow "BSD-2-Clause-FreeBSD AND Apache-2.0" for newlib files * Fixed minor compilation issues/implicit inclusions
23 lines
349 B
C
23 lines
349 B
C
/*
|
|
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include_next <sys/unistd.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int truncate(const char *, off_t __length);
|
|
int gethostname(char *__name, size_t __len);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|