|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _@GUARD_PREFIX@_SYS_TIMES_H |
|
|
|
# if __GNUC__ >= 3 |
|
@PRAGMA_SYSTEM_HEADER@ |
|
# endif |
|
@PRAGMA_COLUMNS@ |
|
|
|
# if @HAVE_SYS_TIMES_H@ |
|
# @INCLUDE_NEXT@ @NEXT_SYS_TIMES_H@ |
|
# endif |
|
|
|
# define _@GUARD_PREFIX@_SYS_TIMES_H |
|
|
|
|
|
|
|
# ifndef __GLIBC__ |
|
# include <time.h> |
|
# endif |
|
|
|
|
|
|
|
|
|
|
|
# ifdef __cplusplus |
|
extern "C" { |
|
# endif |
|
|
|
# if !@HAVE_STRUCT_TMS@ |
|
# if !GNULIB_defined_struct_tms |
|
|
|
struct tms |
|
{ |
|
clock_t tms_utime; |
|
clock_t tms_stime; |
|
|
|
clock_t tms_cutime; |
|
clock_t tms_cstime; |
|
}; |
|
# define GNULIB_defined_struct_tms 1 |
|
# endif |
|
# endif |
|
|
|
# if @GNULIB_TIMES@ |
|
# if !@HAVE_TIMES@ |
|
extern clock_t times (struct tms *buffer) _GL_ARG_NONNULL ((1)); |
|
# endif |
|
# elif defined GNULIB_POSIXCHECK |
|
# undef times |
|
# if HAVE_RAW_DECL_TIMES |
|
_GL_WARN_ON_USE (times, "times is unportable - " |
|
"use gnulib module times for portability"); |
|
# endif |
|
# endif |
|
|
|
# ifdef __cplusplus |
|
} |
|
# endif |
|
|
|
#endif |
|
|