#1990 closed defect

sys/resource.h lacking getrusage

Reported by: Ralf Corsepius Owned by: Ralf Corsepius
Priority: normal Milestone: 4.11
Component: tool/newlib Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description (last modified by Joel Sherrill)

RTEMS supplies a version of "getrusage" in cpukit/libcsupport/src/getrusage.c, but rtems-newlib doesn't supply a declaration.

According to
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_resource.h.html
getrusage should be added to rtems-newlib's sys/resource.h

Change History (5)

comment:1 Changed on Dec 13, 2011 at 4:53:31 AM by Ralf Corsepius

RTEMS supplies a version of "getrusage" in cpukit/libcsupport/src/getrusage.c, but rtems-newlib doesn't supply a declaration.

According to
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_resource.h.html
getrusage should be added to rtems-newlib's sys/resource.h

comment:2 Changed on Nov 22, 2014 at 3:35:54 PM by Joel Sherrill

Description: modified (diff)
Milestone: 4.11

There is still no prototype in newlib's sys/resource.h

comment:3 Changed on Nov 23, 2014 at 3:14:54 PM by Joel Sherrill

Version: unknown4.11

comment:4 Changed on Nov 23, 2014 at 3:41:17 PM by Joel Sherrill

Proposed patch submitted to newlib

comment:5 Changed on Nov 24, 2014 at 2:16:15 PM by Joel Sherrill

Resolution: fixed
Status: newclosed

Patch committed to newlib.

Note: See TracTickets for help on using tickets.