unistd.h 349 B

12345678910111213141516171819202122
  1. /*
  2. * SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #pragma once
  7. #include <sys/types.h>
  8. #include_next <sys/unistd.h>
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. int truncate(const char *, off_t __length);
  13. int gethostname(char *__name, size_t __len);
  14. #ifdef __cplusplus
  15. }
  16. #endif