Advanced Programming in the UNIX(R) Environment by W. Richard Stevens

By W. Richard Stevens

For greater than two decades, critical C programmers have depended on one publication for sensible, in-depth wisdom of the programming interfaces that force the UNIX and Linux kernels: W. Richard Stevens’ complex Programming within the UNIX® atmosphere . Now, once more, Rich’s colleague Steve Rago has completely up to date this vintage paintings. the recent 3rd version helps today’s major systems, displays new technical advances and top practices, and aligns with model four of the only UNIX Specification.

Show description

Read Online or Download Advanced Programming in the UNIX(R) Environment PDF

Best unix books

Linux Desk Reference

* thoroughly up to date with hundreds of thousands of latest examples! * the single Linux reference with examples for each command * All-new chapters at the Apache internet server, tc shell, and Emacs editor * prepared through activity, so that you can locate it quickly! the sensible, convenient table reference for each Linux user-now thoroughly up-to-date!

LINUX Device Drivers

"We're again to the days whilst males have been males and wrote their very own gadget drivers. - Linus Torvalds. after all, this is often additionally an excellent ebook for the wonderful, both facile (and much less macho) kernel and programmers of the other gender. reviews apart, this can be a excellent (and to-date the one booklet) for programmers and builders that covers gadget drivers in-depth.

TCP IP Illustrated. The Implementation

Bestselling writer W. Richard Stevens groups up with Gary Wright for the second one quantity within the winning TCP/IP Illustrated sequence. This quantity makes a speciality of implementation concerns. The authors use genuine operating code--15,000 traces of code--together with images and outlines of all facts constructions and algorithms to assist the reader grasp the TCP/IP protocol suite.

Advanced Programming in the UNIX(R) Environment

For greater than 20 years, critical C programmers have depended on one booklet for functional, in-depth wisdom of the programming interfaces that force the UNIX and Linux kernels: W. Richard Stevens’ complex Programming within the UNIX® setting . Now, once more, Rich’s colleague Steve Rago has completely up to date this vintage paintings.

Extra info for Advanced Programming in the UNIX(R) Environment

Example text

Disk image files are normally stored in the directory /usr/Iib/dosemu or /var/Iib/dosemu. The DOS emulator, as mentioned above, does not emulate the whole DOS operating system, but only the hardware and the BIOS of a Pc. Thus, starting the emulator requires a DOS boot diskette, a hard disk partition with DOS installed, or a corresponding image file. Direct access to a DOS partition of a hard disk and booting from this partition is one alternative. In this case, however, the partition must not be mounted in the Linux file system, since this can cause conflicts that can mean data loss.

To access the Linux file system from within the emulator, use either the driver emufs . sys or the program lr e dir. sys can map any directory of the Linux file system onto the next free drive letter. The redirector program lredir can replace already assigned drive letters. For example, l redir can be invoked as follows: I c : \> lredir path other ways to boot 52 c: \linux\fs/ The first parameter, in our example c : ,specifies the drive letter to be replaced. The second parameter identifies the source, in our example the root directory of the Linux file system.

Chapter 4 Emulators T he various emulators available to Linux users are increasing in importance. In the first edition of this book we described the DOS emulator within the chapter on Linux features. Meanwhile various other emulators have become available. Many such projects are no longer limited to Linux, but are being developed in parallel for other commercial and freeware UNIX variants such as Free BSD. 1 DOS emulator As for OS/2 and other newer operating systems, Linux has a DOS emulator that permits running DOS programs simultaneously with other Linux applications.

Download PDF sample

Rated 4.76 of 5 – based on 25 votes