Beginning Linux Programming (Programmer to Programmer) by Richard Stones, Neil Matthew

By Richard Stones, Neil Matthew

What's this ebook approximately? If you have put in Linux, or have entry to a model of UNIX, you might have most likely gotten used to the surroundings and its configuration, but when you need to begin programming, so much Linux books depart you by yourself. This booklet takes to the air the place they cease, exhibiting you the way to utilize the instruments UNIX deals (which are integrated as ordinary with any distribution of Linux) and begin programming UNIX for actual. starting Linux Programming, second variation, concentrates on C programming, taking a look at the GNU instruments, and the UNIX C libraries, to educate you step-by-step the way to write, construct, and debug critical software code. in the course of the ebook, you strengthen an absolutely featured CD Database program, permitting you to determine the idea of every new subject utilized to a true program. in addition to dealing with easy dossier operations, enter and output and working with the way in which UNIX handles facts, you find such complex themes as inter-process conversation, networking, and utilizing CGI scripting to construct an online interface — all the weather of client-server programming. you're additionally brought the GTK+ and also you how one can construct wealthy graphical person interfaces for X with GNOME. eventually, there is an advent to machine drivers, to provide you a window into the way in which the Linux kernel itself works. you are going to additionally study shell scripting for BASH, in addition to extra strong scripting languages — Tcl and Perl. What does this e-book conceal? The Perl language Programmming for GNOME(TM) POSIX(r) threads Kernel(r) programming most up-to-date Linux kernel, present instruments and C libraries who's this ebook for? you should be ok with the fundamentals of utilizing Linux, with an excellent operating wisdom of ways to take advantage of and configure your process. you'll want to additionally understand a few basic C. if you are conversant in uncomplicated programming thoughts, the operating examples within the ebook will quickly provide the self belief to discover Linux's C libraries. you will find the programming instruments utilized in this publication are incorporated with nearly any Linux distribution, so this ebook is all you want to start as a Linux programmer.

Show description

Read or Download Beginning Linux Programming (Programmer to Programmer) PDF

Best unix books

Mac OS X for Unix Geeks (Leopard)

If you're a developer or approach administrator lured to Mac OS X due to its Unix roots, you'll fast detect that acting Unix projects on a Mac is diversified than what you're conversant in. Mac OS X for Unix Geeks serves as a bridge among Apple's Darwin OS and the extra conventional Unix structures.

Red Hat Linux Fedora Secrets

Pink Hat Fedora Linux secrets and techniques is still a very good educational advisor that is perfect for educating or studying pink Hat's well known Linux product line. The booklet offers unique technical details on fitting and customizing Linux to be used with a number of forms of desktops and peripherals. It describes how issues paintings behind the curtain and comprises information, suggestions, shortcuts, and little-known proof ("secrets") approximately utilizing Linux for varied real-world projects that diversity from studying UNIX instructions to establishing a safe Java-capable net server in your enterprise.

UNIX to Linux Porting: A Comprehensive Reference

More and more, builders, architects, and venture managers face the problem of porting their C, C++, and Java purposes from UNIXR to LinuxR environments. Now, there is a definitive, start-to-finish advisor to porting purposes from modern-day most generally used UNIX systems: SolarisT, HP-UX, and AIXR.

A+ certification bible

Equipped round the examination targets for simple reference in the course of particular goal concentration, A+ Certification Bible includes large self-evaluation possibilities that will help you ascertain what components desire extra examine. complete assurance enables you to maximize the data, and tailor your examine for your personal wishes at any point of expertise.

Additional info for Beginning Linux Programming (Programmer to Programmer)

Sample text

If your disk has direct memory access (DMA) capability, then: ■ Select the Generic PCI bus-master DMA support option. ■ Select the Use PCI DMA by default when available option to make use of the direct memory access automatically. Chapter 3 details how to tune EIDE/IDE/ATA disks with hdparam. You see a lot of options for chipset support. Unless you know your chipset and find it in the list, ignore these options. If you use at least one SCSI disk, follow these steps: 1. Select the SCSI support submenu and choose SCSI support from the submenu as a module.

SCSI disks and the SCSI controllers are much more expensive because they provide more performance and flexibility. IDE or the enhanced version of IDE called EIDE drives are more commonplace in the personal and disk I/O non-intensive computing. SCSI PERFORMANCE If you have a modern, ultra-wide SCSI disk set up for your Red Hat Linux system, you are already ahead of the curve and should be getting good performance from your disks. If not (even if so), the difference between SCSI and IDE is useful to explore: ◆ SCSI disk controllers handle most of the work of transferring data to and from the disks; IDE disks are controlled directly by the CPU itself.

The following hardware-specific options provide optimal configuration for your system. Because most Linux users run Intel hardware, I focus on Intel-specific options throughout the chapter. I also assume that you use fairly modern hardware (less than two years old). F 11/5/01 9:03 AM Page 17 Chapter 2: Kernel Tuning CPU SUPPORT these CPUs: Linux kernel can be configured for the Intel x86 instruction set on ◆ “386” for ■ AMD/Cyrix/Intel 386DX/DXL/SL/SLC/SX ■ Cyrix/TI486DLC/DLC2 ■ UMC 486SX-S ■ NexGen Nx586 Only “386” kernels run on a 386-class machine.

Download PDF sample

Rated 4.74 of 5 – based on 8 votes