2022-06-17 10:59:56 -04:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2018-06-12 06:29:05 -04:00
|
|
|
|
2022-07-04 05:53:42 -04:00
|
|
|
#pragma once
|
2018-06-12 06:29:05 -04:00
|
|
|
|
2022-07-04 05:53:42 -04:00
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
#include_next <sys/unistd.h>
|
2018-06-12 06:29:05 -04:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2019-03-19 07:57:20 -04:00
|
|
|
int truncate(const char *, off_t __length);
|
|
|
|
int gethostname(char *__name, size_t __len);
|
2018-06-12 06:29:05 -04:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|