#13 Add some tips to C-Allocators
Merged by huzaifas. Opened by ueno.
ueno/defensive-coding-guide wip/dueno/cleanup  into  master

This adds a couple of tips that can be used with the recent compilers and glibc, namely cleanup attribute and reallocarray.

rebased onto 46080eda4139d88947b9f3342eb27fd1d8e5bc7a

3 new commits added

  • C-Allocators: Mention `realloc` behavior if size is zero
  • C-Allocators: Mention `cleanup` attribute
  • C-Allocators: Mention `reallocarray` for safe array allocation

rebased onto e6baf3d2fb33ff980611fcfd166842489615c8d4

Pull-Request has been merged by huzaifas

Metadata