~ubuntu-branches/ubuntu/vivid/emscripten/vivid-proposed

« back to all changes in this revision

Viewing changes to system/include/libc/sys/times.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2014-01-19 14:12:40 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140119141240-nfiw0p8033oitpfz
Tags: 1.9.0~20140119~7dc8c2f-1
* New snapshot release (Closes: #733714)
* Provide sources for javascript and flash. Done in orig-tar.sh
  Available in third_party/websockify/include/web-socket-js/src/
  (Closes: #735903)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef _SYS_TIMES_H
 
2
#define _SYS_TIMES_H
 
3
 
2
4
#ifdef __cplusplus
3
5
extern "C" {
4
6
#endif
5
 
#define _SYS_TIMES_H
6
 
 
7
 
#include <_ansi.h>
8
 
#include <machine/types.h>
9
 
 
10
 
#ifndef __clock_t_defined
11
 
typedef _CLOCK_T_ clock_t;
12
 
#define __clock_t_defined
13
 
#endif
14
 
 
15
 
/*  Get Process Times, P1003.1b-1993, p. 92 */
16
 
struct tms {
17
 
        clock_t tms_utime;              /* user time */
18
 
        clock_t tms_stime;              /* system time */
19
 
        clock_t tms_cutime;             /* user time, children */
20
 
        clock_t tms_cstime;             /* system time, children */
 
7
 
 
8
#define __NEED_clock_t
 
9
#include <bits/alltypes.h>
 
10
 
 
11
struct tms
 
12
{
 
13
        clock_t tms_utime;
 
14
        clock_t tms_stime;
 
15
        clock_t tms_cutime;
 
16
        clock_t tms_cstime;
21
17
};
22
18
 
23
 
clock_t _EXFUN(times,(struct tms *));
 
19
clock_t times (struct tms *);
24
20
 
25
21
#ifdef __cplusplus
26
22
}
27
23
#endif
28
 
#endif  /* !_SYS_TIMES_H */
 
24
 
 
25
#endif
 
26