1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 09:54:59 +00:00

Kernel+LibC: Share definitions for sys/times.h

This commit is contained in:
Andreas Kling 2021-08-14 19:17:32 +02:00
parent 808ce594db
commit 35b52338bb
3 changed files with 27 additions and 17 deletions

View file

@ -0,0 +1,24 @@
/*
* Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <Kernel/API/POSIX/sys/types.h>
#ifdef __cplusplus
extern "C" {
#endif
struct tms {
clock_t tms_utime;
clock_t tms_stime;
clock_t tms_cutime;
clock_t tms_cstime;
};
#ifdef __cplusplus
}
#endif