Notice: We have migrated to GitLab launching 2024-05-01 see here:

#4503 assigned enhancement

Add glibc malloc family extension malloc_usable_size()

Reported by: Joel Sherrill Owned by: Joel Sherrill
Priority: normal Milestone: Indefinite
Component: lib Version: 6
Severity: normal Keywords: small, tasks, libc, api
Cc: Blocked By:

Description (last modified by Joel Sherrill)

RTEMS already has this functionality so it should not be hard to implement this.

The prototype may need to be added to the appropriate newlib header file with the same guard as Linux and FreeBSD.

Add implementation and test code to the malloc family in libcsupport/. The required functionality should already be in the underlying score/ capability used.

The method would need to be fully tested.

The method would need to be documented.

Change History (5)

comment:1 Changed on 09/08/21 at 20:21:50 by Joel Sherrill

Description: modified (diff)

comment:2 Changed on 09/09/21 at 08:26:22 by Chris Johns

Is glibc some sort of new standard?

comment:3 Changed on 12/17/21 at 17:21:31 by Joel Sherrill

Milestone: 6.1Indefinite

comment:4 Changed on 02/04/22 at 18:52:58 by Gedare Bloom

Keywords: api added

comment:5 Changed on 02/25/22 at 22:04:48 by Gedare Bloom

Keywords: SoC removed
Owner: set to Joel Sherrill
Status: newassigned
Note: See TracTickets for help on using tickets.