[RTEMS Project] #1990: sys/resource.h lacking getrusage

RTEMS trac trac at rtems.org
Sat Nov 22 15:35:54 UTC 2014


#1990: sys/resource.h lacking getrusage
----------------------------+-----------------------------
 Reporter:  ralf.corsepius  |       Owner:  ralf.corsepius
     Type:  defect          |      Status:  new
 Priority:  normal          |   Milestone:  4.11
Component:  Newlib          |     Version:  unknown
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+-----------------------------
Changes (by joel.sherrill):

 * milestone:   => 4.11


Old description:

> 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

New description:

 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:

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

--
Ticket URL: <http://devel.rtems.org/ticket/1990#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list