Initial revision
This commit is contained in:
25
include/sys/times.h
Executable file
25
include/sys/times.h
Executable file
@@ -0,0 +1,25 @@
|
||||
/* The <times.h> header is for time times() system call. */
|
||||
|
||||
#ifndef _TIMES_H
|
||||
#define _TIMES_H
|
||||
|
||||
#ifndef _CLOCK_T
|
||||
#define _CLOCK_T
|
||||
typedef long clock_t; /* unit for system accounting */
|
||||
#endif
|
||||
|
||||
struct tms {
|
||||
clock_t tms_utime;
|
||||
clock_t tms_stime;
|
||||
clock_t tms_cutime;
|
||||
clock_t tms_cstime;
|
||||
};
|
||||
|
||||
/* Function Prototypes. */
|
||||
#ifndef _ANSI_H
|
||||
#include <ansi.h>
|
||||
#endif
|
||||
|
||||
_PROTOTYPE( clock_t times, (struct tms *_buffer) );
|
||||
|
||||
#endif /* _TIMES_H */
|
||||
Reference in New Issue
Block a user