123456789101112131415 |
- /*
- * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
- *
- * SPDX-License-Identifier: BSD-2-Clause
- */
- #include <errno.h>
- #include <sys/times.h>
- #include <syscall.h>
- clock_t times(struct tms* buf)
- {
- int rc = syscall(SC_times, buf);
- __RETURN_WITH_ERRNO(rc, rc, (clock_t)-1);
- }
|