- Thread Starter
- #26
DOS/NT Kingdom
I. Philippe Kahn made Bill Gate crazy. Turbo C (~ 40 USD) vs. MS (~ 400 USD).
II. In Windows we didn't have src/, only Win32 API. That's all.
III. We had to wait till someone like Peter Norton or Mark Russinovich show us more!
IV. There was also system-specific stuff, e.g. dos.h, conio.h, windows.h, etc.
V. And C++ classes wrapper around Win32 APIs made things worse.
VI. But, UNIX has src/
UNIX/BSD Empire
I. Pick a random c(7) file in the src/
II. Follow up its headers at sys/sys/ and include/
III. Many functions, constant and blocks of code in the translation unit have comments. Some are obvious from its context.
IV. Back and forth between .c (s) and .h (s)
V. Learn more at man(3) <-->>man(2) <-->>man(9)
VI. It's not just ANSI C, there's POSIX headers too. The best next step to learn about ANSI C, POSIX, XSI, SUS and their interfaces, headers, etc:
Stevens' Advanced Programming in the Unix Environment book.
i shall take the UNIX/BSD Empire. very much useful. esp, from man2 to man9.