How to find out the size of memory allocated to a pointer???

Example:

int
MyFunc(char *str)
{
        int sizemem;

        // Here how to find out the size of str memory ??
        
        sizemem =  _____    /// One function to find out the size of str memory .
}


--Kvim--



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to