#4271 closed enhancement (duplicate)

Add common malloc family extension method malloc_usable_size()

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

Description

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

https://man7.org/linux/man-pages/man3/malloc_usable_size.3.html
https://www.freebsd.org/cgi/man.cgi?query=malloc_usable_size

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

The method would need to be fully tested.

The method would need to be documented.

Change History (1)

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

Resolution: duplicate
Status: newclosed

Duplicate of #4503

Note: See TracTickets for help on using tickets.