I am working on converting many C programs from Unix to Linux and this free() syntax caught my attention:
free((char *) area );
What's the difference between this and free( area );
?
|
The signature of
So if Unless... if the code is really, really old, that is, before ANSI C introduced |
|||
|
If someone were storing a pointer to dynamic allocated data in a non-pointer type sanctioned by the standard, i.e. If |
||||
|
The signature of There is a Linus Torvald rant about on why |
|||||||||||||||||
|