BuildSystem: Move all userpace libraries under the userspace directory
As the number of libraries is increasing, root directory starts to expand. This adds better organization for libraries
This commit is contained in:
25
userspace/libraries/LibC/include/sys/times.h
Normal file
25
userspace/libraries/LibC/include/sys/times.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef _SYS_TIMES_H
|
||||
#define _SYS_TIMES_H 1
|
||||
|
||||
// https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_times.h.html
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#define __need_clock_t
|
||||
#include <sys/types.h>
|
||||
|
||||
struct tms
|
||||
{
|
||||
clock_t tms_utime; /* User CPU time. */
|
||||
clock_t tms_stime; /* System CPU time. */
|
||||
clock_t tms_cutime; /* User CPU time of terminated child processes. */
|
||||
clock_t tms_cstime; /* System CPU time of terminated child processes. */
|
||||
};
|
||||
|
||||
clock_t times(struct tms* buffer);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user