The C Programming Language (aka K&R)
http://en.wikipedia.org/wiki/The_C_Programming_Language_(boo...
http://en.wikipedia.org/wiki/The_C_Programming_Language_(boo...
Once you're done with that, pick up one of the W. Richard Stevens (RIP) books — Advanced Programming in the Unix environment, or Unix Network Programming (Vol i/ii) if you're into networks. They'll teach you the basics of so much operating system stuff (it'll be Unix, but the core concepts will apply to any modern OS) you'll be growing a long unkempt beard and wearing sandals/suspenders in no time.