|
NAME
SYNOPSISsize_t
DESCRIPTIONThe
RETURN VALUESIf the size of the object is not known or the
ptr expression has side effects, the
If the size of the object is known, then the
HISTORYThe CAVEATSThis is a non-standard, compiler-specific extension. Note that currently the object size calculation pass is only done at -O1 or above, meaning that this function always returns -1 when the optimizer is off. There are some discussions about always doing the object size pass, but the issue is that without the optimization pass data sizes are not going to be correct. For that reason code fortification (size-checked replacement functions) is currently disabled when optimization is off.
|