News for hackers. Stuff that matters.
Re:Brushing up on operating systems and C programming by partycoder on Saturday January 20, 2018 @09:05PM (#16196504)
This book is not about OS dev but rather systems programming: "The Linux Programming Interface", https://nostarch.com/tlpi

For OS development resources, this wiki is very good: http://wiki.osdev.org

Re:Brushing up on operating systems and C programming by partycoder on Saturday January 20, 2018 @11:15PM (#16196822)
And forgot to add these: https://beej.us/guide/

Beej's guides to networking and IPC are excellent.

Re:Brushing up on operating systems and C programming by CandidlyFake on Saturday January 20, 2018 @09:50PM (#16196630)
> This book is not about OS dev but rather systems programming: "The Linux Programming Interface", https://nostarch.com/tlpi

You can also look through the man pages for free.

https://www.kernel.org/doc/man-pages/

Or if you are adventurous you can play around with syscalls in assembly.

https://syscalls.kernelgrok.com/

Also, the examples for TLPI are available online

http://man7.org/tlpi/code/online/index.html

Re:Brushing up on operating systems and C programming by da_chicken on Saturday January 20, 2018 @10:04PM (#16196675)
Not to pick on you specifically, but I've really grown to hate this type of response to this very common question. Most people new to a topic want an instructional manual or guide, not a technical reference. Man pages and tables of syscalls are decidedly the latter, and therefore primarily intended for people who are already familiar with the topics they cover.
Re:Brushing up on operating systems and C programming by CandidlyFake on Saturday January 20, 2018 @10:10PM (#16196690)
> Most people new to a topic want an instructional manual or guide, not a technical reference. Man pages and tables of syscalls are decidedly the latter, and therefore primarily intended for people who are already familiar with the topics they cover

But this thread is about brushing up on OS and C programming. So not novices, but people who are already familiar with the topic.

Re:Brushing up on operating systems and C programming by danieldk on Sunday January 21, 2018 @03:25AM (#16197324)
Even then... Where are you going to start in reading references? A random syscall or function a day? I think it is far more useful to e.g. read the late W. Richard Stevens' Advanced Programming in the Unix environment. It puts everything in context, provides historical background where necessary, and gives examples.

Reference pages are not really for brushing up, but more for the 'what was the address family field of sockaddr called again'-type of questions? Or put differently: they are external memory.

Re:Brushing up on operating systems and C programming by CandidlyFake on Monday January 22, 2018 @08:48PM (#16210168)
> Even then... Where are you going to start in reading references? A random syscall or function a day?

Sure. Or browse through a bunch of them?

> think it is far more useful to e.g. read the late W. Richard Stevens' Advanced Programming in the Unix environment.

That is closer to a reference than a novice tutorial.

> It puts everything in context, provides historical background where necessary, and gives examples.

Sure. So do good references. Even man pages do.

> Reference pages are not really for brushing up, but more for the 'what was the address family field of sockaddr called again'-type of questions? Or put differently: they are external memory.

It depends on your level, experience and your competence in the material I guess. I'm not saying it's the only thing you need, but in many situations, it's the only thing you need to brush up.

Re:Brushing up on operating systems and C programming by sigstoat on Saturday January 20, 2018 @10:42PM (#16196761)
> Not to pick on you specifically, but I've really grown to hate this type of response to this very common question.

what question? this isn't an Ask HN, and partycoder didn't ask a question.

Re:Brushing up on operating systems and C programming by partycoder on Saturday January 20, 2018 @11:25PM (#16196843)
I think of TLPI as a "getting started" introduction for each one of the Linux APIs.

But it is also valuable as a refresher since it's a bit hard to memorize the vastness of the Linux API in the long term.

Re:Brushing up on operating systems and C programming by catfood on Saturday January 20, 2018 @11:03PM (#16196798)
The Linux Programming Interface is my favorite software book of all time. I had a problem that I think a lot of other people had, where I learned C the language pretty in depth, but didn't really know what to do with it until I read this.