Opened on 12/13/11 at 04:53:31
Closed on 11/24/14 at 14:16:15
#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 12/13/11 at 04:53:31 by Ralf Corsepius
comment:2 Changed on 11/22/14 at 15:35:54 by Joel Sherrill
Description: | modified (diff) |
---|---|
Milestone: | → 4.11 |
There is still no prototype in newlib's sys/resource.h
comment:3 Changed on 11/23/14 at 15:14:54 by Joel Sherrill
Version: | unknown → 4.11 |
---|
comment:5 Changed on 11/24/14 at 14:16:15 by Joel Sherrill
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch committed to newlib.
Note: See
TracTickets for help on using
tickets.
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