| 21 | smallocx(size_t size, int flags); |
| 22 | |
| 23 | static unsigned |
| 24 | get_nsizes_impl(const char *cmd) { |
| 25 | unsigned ret; |
| 26 | size_t z; |
| 27 | |
| 28 | z = sizeof(unsigned); |
| 29 | assert_d_eq(mallctl(cmd, (void *)&ret, &z, NULL, 0), 0, |
| 30 | "Unexpected mallctl(\"%s\", ...) failure", cmd); |
| 31 | |
| 32 | return ret; |
| 33 | } |
| 34 | |
| 35 | static unsigned |
| 36 | get_nlarge(void) { |