GCC doesn't define it at all. GCC uses the malloc()
implementation provided by the standard library. On OS X this will be libSystem, on Linux this will usually be glibc or eglibc, etc. These libraries are open source, so you can browse the source code.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.