aboutsummaryrefslogtreecommitdiff
path: root/libgloss/libnosys/times.c
blob: f205e50f524ee96b789a0035e861b754a6f6e513 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Stub version of times.
 */

#include "config.h"
#include <_ansi.h>
#include <_syslist.h>
#include <sys/times.h>
#include <errno.h>
#undef errno
extern int errno;
#include "warning.h"

clock_t
_DEFUN (_times, (buf),
        struct tms *buf)
{
  errno = ENOSYS;
  return -1;
}

stub_warning(_times)