0

I was studying the newlib source code, and I found an unfamiliar C syntax. What does the following code mean ? Why it can insert struct between the function name and body?

void
__malloc_unlock (ptr)
     struct _reent *ptr;
{ /*...*/

The code can be found in https://github.com/eblot/newlib/blob/master/newlib/libc/stdlib/mlock.c

0 Answers0