this post was submitted on 17 Aug 2026
7 points (88.9% liked)
C Programming Language
1340 readers
15 users here now
Welcome to the C community!
C is quirky, flawed, and an enormous success.
... When I read commentary about suggestions for where C should go, I often think back and give thanks that it wasn't developed under the advice of a worldwide crowd.
... The only way to learn a new programming language is by writing programs in it.
- irc: #c
🌐 https://en.cppreference.com/w/c
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Most linux distributions either include C man pages by default or add them in when you install dev tools. I’d be surprised if
man strchrdidn’t already come up with something for you.If you’re going down this path, it’s worth recognizing the different meanings of the man sections - shell commands in section 1 means that e.g.
man chownis going to show you shell instead of the C function you’ll see fromman 2 chown. In the same vein, section 3 has library functions, which are sometimes more relevant for you than section 2’s syscalls.This is very useful, thank you! It should be alot easier to figure out how these functions work without relying on modern search engines.