1. 首页
  2. 编程语言
  3. C
  4. Beginning Linux Programming

Beginning Linux Programming

上传者: 2019-09-20 00:48:45上传 PDF文件 6.36MB 热度 15次
Beginning Linux Programming.学习linux编程必看的书。非常经典。Beginning Linux@ Programming 4th EditionAcknowledgementsXForewordIntroductionChapter 1: Getting Started............Chapter 2: Shell Programming17Chapter 3: Working withChapter 4: The Linux Environment137Chapter 5: Terminals,,,,,,,,,,,,,,.175Chapter 6: Managing Text-Based Screens with curses211Chapter 7: Data Management255Chapter 8: MySQLChapter9: Development Tools..∴∴∴.,,,,.377Chapter 10:Chapter 11: Processes and signals■■■■■■■■■■■■■■■■■,,,,,,,461Chapter 12: PosiX Threads■■■■■■■■■■■■■■■■■495Chapter 13: Inter-Process Communication: Pipes..,......,.525Chapter 14: Semaphores, Shared Memory, and Message Queues....577Chapter 15:Chapter 16: Programming GNOME Using GTK+...........645Chapter 17: Programming KDE Using Qt.701Chapter 18: Standards for LinuxIndex761BeginningLinux. Programming4th editionBeginningLinux. Programming4th editionNeil matthewRichard stones18。7出| WILEY20o7Wiley Publishing, IncBeginning Linux@ Programming, 4th EditionPublished bWiley publishing, Inc10475 Crosspoint boulevardIndianapolis, IN 46256www.wiley.comCopyright@ 2008 by Wiley Publishing, Inc. Indianapolis, IndianaPublished simultaneously in CanadaISBN:978-0-470-147627Manufactured in the United States of America10987654321Library of Congress Cataloging-in-Publication Data is available from the publisherTo part of this publication may be reproduced stored in a retrieval system or transmitted in any form orby any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior writtenpermission of the Publisher, or authorization through payment of the appropriate per-copy fee to theCopyright Clearance Center, 222 Rosewood Drive, Danvers, MAO1923, 978)750-8400, fax(978)646-8600Requests to the Publisher for permission should be addressed to the Legal Department, Wiley publishing,Inc, 10475 Crosspoint Blvd. Indianapolis, IN 46256, (317)572-3447, fax(317)572-4355, or online athttp://www.wiley.com/go/permissionsLIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHORMAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY ORCOMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALLWARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR APARTICULAR PURPOSE. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES ORPROMOTIONAL MATERIALS. THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOTBE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD WITH THE UNDERSTANDINGTHAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHERPROFESSIONAL SERVICES. IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF ACOMPETENT PROFESSIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NORTHE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM. THE FACT THAT ANORGANIZATION OR WEBSITE IS REFERRED TO IN THIS WORK AS A CITATION AND/OR APOTENTIAL SOURCE OF FURTHER INFORMATION DOES NOT MEAN THAT THE AUTHOR ORTHE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAYPROVIDE OR RECOMMENDATIONS IT MAY MAKE. FURTHER, READERS SHOULD BE AWARETHAT INTERNET WEBSITES LISTED IN THIS WORK MAY HAVE CHANGED OR DISAPPEAREDBETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READFor general information on our other products and services please contact our Customer CareDepartment within the United States at(800)762-2974, outside the United States at(317)572-3993 orfax(317)572-4002Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Wrox Programmer to Programmer, andrelated trade dress are trademarks or registered trademarks of John Wiley sons, Inc and or its affil-iates, in the United States and other countries, and may not be used without written permission. Lintis a trademark of linus Torvalds. All other trademarks are the property of their respective ownersWiley Publishing, Inc, is not associated with any product or vendor mentioned in this bookWiley also publishes its books in a variety of electronic formats. Some content that appears in printmay not be available in electronic booksAbout the authorsNeil matthew has been interested in and has programmed computers since 1974. A mathematicsgraduate from the University of Nottingham, Neil is just plain keen on programming languagesand likes to explore new ways of solving computing problems. He's written systems to program inBCPL, FP(Functional Programming), Lisp, Prolog, and a structured BASIC. He even wrote a 6502microprocessor emulator to run BBC microcomputer programs on UNIX systemsIn terms of UNIX experience, Neil has used almost every flavor since the late 1970s, including BSDUNIX AT&T System V Sun Solaris, IBM AIX, many others and of course linux. he can claim tohave been using linux since august 1993 when he acquired a floppy disk distribution of SoftLanding(SL S)from Canada, with kernel version 0.99.11. He's used Linux-based computers forhacking C, C++, Icon, Prolog, Tcl, and Java at home and at workAll of Neil's"projects are developed using Linux. He says Linux is much easier because itsupports quite a lot of features from other systems, so that both BSD-and System v-targeted pro-grams will generally compile with little or no changeNeil is currently working as an Enterprise Architect specializing in IT strategy at Celesio AG. Hehas a background in technical consultancy, software development techniques and quality assurance. Neil has also programmed in C and C++ for real-time embedded systemsNeil is married to Christine and has two children Alexandra and adrian. he lives in a convertedscience fiction, squash, mountain biking, and not doing it yourse uzzles by computer,musicbarn in northamptonshire, england. Ilis interests include solvin8Rick Stones started programming at school (more years ago than he cares to remember) on a6502-powered BBC micro, which, with the help of a few spare parts, continued to function for thenext 15 years. He graduated from Nottingham University with a degree in Electronic Engineering,but decided software was more funOver the years he has worked for a variety of companies, from the very small with just a dozenemployees, to the very large, including the It services giant EDS. Along the way he has worked ona range of projects, from real-time communications to accounting systems, to very large help desksystems. He is currently working as an It architect, acting as a technical authority on various majorprojects for a large pan-European companytelecommunications language called SL-1, some FORTRAN, Pascal, Perl, SQL, and smidgeonsof tarya bit of a programming linguist, he has programmed in various assemblers, a rather neat propriePython and C++, as well as C. Under duress he even admits that he was once reasonably proficientin Visual Basic, but tries not to advertise this aberration.Rick lives in a village in Leicestershire, England, with his wife Ann, children Jennifer and andrew,and a cat Outside work his main interests are classical music, especially early religious music, andphotography, and he does his best to find time for some piano practice
用户评论