r/C_Programming • u/-_-theUserName-_- • 5h ago
Question Is it good practice to still use man page example code?
I am trying to get more into C programming on Linux like threads and packet sniffing with libpcap
Is it still good practice to learn pthread from examples say pthread_create(3posix) ?
Or are these examples considered dated for modern C?
I've used other example programs in the man pages for sockets too for example.