2022-06-17 16:59:56 +02:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2018-06-12 18:29:05 +08:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef _ESP_SYS_UNISTD_H
|
|
|
|
#define _ESP_SYS_UNISTD_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include_next <sys/unistd.h>
|
|
|
|
|
2019-03-19 19:57:20 +08:00
|
|
|
int truncate(const char *, off_t __length);
|
|
|
|
int gethostname(char *__name, size_t __len);
|
2018-06-12 18:29:05 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* _SYS_UNISTD_H */
|