time.h 305 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <Kernel/API/POSIX/sys/types.h>
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. struct timeval {
  12. time_t tv_sec;
  13. suseconds_t tv_usec;
  14. };
  15. #ifdef __cplusplus
  16. }
  17. #endif