Category "storage-duration"

Are "thread storage duration" and "thread local storage duration" the synonyms?

C11, 6.2.4 Storage durations of objects, 4 (emphasis added): An object whose identifier is declared with the storage-class specifier _Thread_local has thread s

A question about returning local pointer variable in function

I know the variables in function are using stack space. When function exit, the space are freed. That's why we should declare the pointer variable as static in