unistd.h 394 B

1234567891011121314151617181920212223
  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. int getentropy(void *buffer, size_t length);
  15. #ifdef __cplusplus
  16. }
  17. #endif