[SOLVED] What the heck is up with those _t data types in C? Is there a conspiracy behind it?

Опубликовано: 11 Июль 2026
на канале: myCTalkthroughs
425
8

If you start writing code with the #C #programming language they may catch your attention when you have a look at some libraries: Identifiers with a trailing _t like #time_t, #size_t, and other kinds of _t data types, usually specific to some function or library. The C gurus have a method to their madness when it comes to naming those kind of things. _t is not an exception , it stands for something. And that's very consistent on purpose.

And it has to do with ... yah, it has to do with distinction. The distinction from in the C programming language's built-in or let's call them basic types to something else...

https://github.com/jagottsicher/myCTa...

If you have further questions, useful feedback, or an idea for a C-related topic to talk through please leave a comment. From time to time I will come back on your issues in upcoming episodes.

And if you liked this episode please give it a thumbs up, if you want to see more video like this, subscribe to this channel and don't forget to hit the bell if you want to stay informed, when new episodes are released.

Sources & Links:
https://stackoverflow.com/questions/2...
http://www.gnu.org/software/libc/manu...
https://en.wikibooks.org/wiki/C_Progr...
https://en.wikibooks.org/wiki/C_Progr...
https://en.wikipedia.org/wiki/Year_20...
https://en.wikipedia.org/wiki/Year_20...

P.S.: If you're interested to learn programming basics in #Google's #programming #language #Go feel free to have a look at my course on #Udemy; https://www.udemy.com/course/learn-pr...