Most implementations record the entire size of the allocated block (size including the header, padding). This info is used internally for operations like free, etc. However, this can vary by your C library implementation, so go look it up.