view modules/getrusage @ 40205:9e8fb35d4032

relocatable-prog: Revert "Use wrapper-free installation on Mac OS X." * build-aux/install-reloc: Revert change. * m4/relocatable.m4 (gl_RELOCATABLE_BODY): Likewise.
author Bruno Haible <bruno@clisp.org>
date Mon, 04 Mar 2019 17:25:04 +0100
parents 1f14c6dd175d
children
line wrap: on
line source

Description:
getrusage() function: Get resource usage of current process.

Files:
lib/getrusage.c
m4/getrusage.m4

Depends-on:
sys_resource
stdint          [test $HAVE_GETRUSAGE = 0]

configure.ac:
gl_FUNC_GETRUSAGE
if test $HAVE_GETRUSAGE = 0; then
  AC_LIBOBJ([getrusage])
fi
gl_SYS_RESOURCE_MODULE_INDICATOR([getrusage])

Makefile.am:

Include:
<sys/resource.h>

License:
LGPL

Maintainer:
all