Buy Advanced Programming in the UNIX Environment by W. Richard Stevens
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Operating systems > Open source and other operating systems > Advanced Programming in the UNIX Environment
Advanced Programming in the UNIX Environment

Advanced Programming in the UNIX Environment


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

If you are an experienced C programmer with a working knowledge of UNIX, you cannot afford to be without this up-to-date tutorial on the system call interface and the most important functions found in the ANSI C library. Rich Stevens describes more than 200 system calls and functions; since he believes the best way to learn code is to read code, a brief example accompanies each description.Building upon information presented in the first 15 chapters, the author offers chapter-long examples teaching you how to create a database library, a PostScript printer driver, a modem dialer, and a program that runs other programs under a pseudo terminal. To make your analysis and understanding of this code even easier, and to allow you to modify it, all of the code in the book is available via UUNET.A 20-page appendix provides detailed function prototypes for all the UNIX, POSIX, and ANSI C functions that are described in the book, and lists the page on which each prototype function is described in detail. Additional tables throughout the text and a thorough index make Advanced Programming in the UNIX Environment an invaluable reference tool that all UNIX programmers - beginners to experts - will want on their bookshelves.Advanced Programming in the UNIX Environment is applicable to all major UNIX releases, especially System V Release 4 and the latest release of 4.3BSD, including 386BSD. These real-world implementations allow you to more clearly understand the status of the current and future standards, including IEEE POSIX and XPG3. 0201563177B04062001

Table of Contents:
(Each chapter begins with an Introduction and concludes with a Summary.) 1. Introduction. Logging In. Files and Directories. Input and Output. Programs and Processes. ANSI C Features. Error Handling. User Identification. Signals. Unix Time Values. System Calls and Library Functions. 2. Unix Standardization and Implementations. Unix Standardization. ANSI C. IEEE POSIX. X/Open XPG3. FIPS. Unix Implementations. System V Release 4. 4.3+BSD. Relationship of Standards and Implementations. Limits. ANSI C Limits. POSIX Limits. XPG3 Limits. sysconf, pathconf, and fpathconf Functions. FIPS 151-1 Requirements. Summary of Limits. Indeterminate Run-Time Limits. Feature Test Macros. Primitive System Data Types. Conflicts Between Standards. 3. File I/O. File Descriptors. open Function. creat Function. close Function. lseek Function. read Function. write Function. I/O Efficiency. File Sharing. Atomic Operations. dup and dup2 Functions. fcntl Function. ioctl Function. /dev/fd. 4. Files and Directories. stat, fstat, and lstat Functions. File Types. Set-User-ID and Set-Group-ID. File Access Permissions. Ownership of New Files and Directories. access Function. umask Function. chmod and fchmod Functions. Sticky Bit. chown, fchown, and lchown Functions. File Size. File Truncation. Filesystems. link, unlink, remove, and rename Functions. Symbolic Links. symlink and readlink Functions. File Times. utime Function. mkdir and rmdir Functions. Reading Directories. chdir, fchdir, and getcwd Functions. Special Device Files. sync and fsync Functions. Summary of File Access Permission Bits. 5. Standard I/O Library. Streams and FILE Objects. Standard Input, Standard Output, and Standard Error. Buffering. Opening a Stream. Reading and Writing a Stream. Line-at-a-Time I/O. Standard I/O Efficiency. Binary I/O. Positioning a Stream. Formatted I/O. Implementation Details. Temporary Files. Alternatives to Standard I/O. 6. System Data Files and Information. Password File. Shadow Passwords. Group File. Supplementary Group IDs. Other Data Files. Login Accounting. System Identification. Time and Date Routines. 7. The Environment of a Unix Process. main Function. Process Termination. Command-Line Arguments. Environment List. Memory Layout of a C Program. Shared Libraries. Memory Allocation. Environment Variables. setjmp and longjmp Functions. getrlimit and setrlimit Functions. 8. Process Control. Process Identifiers. fork Function. vfork Function. exit Functions. wait and waitpid Functions. wait3 and wait4 Functions. Race Conditions. exec Functions. Changing User IDs and Group IDs. Interpreter Files. system Function. Process Accounting. User Identification. Process Times. 9. Process Relationships. Terminal Logins. Network Logins. Process Groups. Sessions. Controlling Terminal. tcgetpgrp and tcsetpgrp Functions. Job Control. Shell Execution of Programs. Orphaned Process Groups. 4.3+BSD Implementation. 10. Signals. Signal Concepts. signal Function. Unreliable Signals. Interrupted System Calls. Reentrant Functions. SIGCLD Semantics. Reliable Signal Terminology and Semantics. kill and raise Functions. alarm and pause Functions. Signal Sets. sigprocmask Function. sigpending Function. sigaction Function. sigsetjmp and siglongjmp Functions. sigsuspend Function. abort Function. system Function. sleep Function. Job-Control Signals. Additional Features. 11. Terminal I/O. Overview. Special Input Characters. Getting and Setting Terminal Attributes. Terminal Option Flags. stty Command. Baud Rate Functions. Line Control Functions. Terminal Identification. Canonical Mode. Noncanonical Mode. Terminal Window Size. termcap, terminfo, and curses. 12. Advanced I/O Nonblocking I/O. Record Locking. Streams. I/O Multiplexing. select Function. poll Function. Asynchronous I/O. System V Release 4. 4.3+BSD. readv and writev Functions. readn and writen Functions. Memory Mapped I/O. 13. Daemon Processes. Daemon Characteristics. Coding Rules. Error Logging. SVR4 Streams log Driver. 4.3+BSD syslog Facility. Client-Server Model. 14. Interprocess Communication. Pipes. popen and pclose Functions. Coprocesses. FIFOs. System V IPC. Identifiers and Keys. Permission Structure. Configuration Limits. Advantages and Disadvantages. Message Queues. Semaphores. Shared Memory. Client-Server Properties. 15. Advanced Interprocess Communication. Stream Pipes. Passing File Descriptors. System V Release 4. 4.3BSD. 4.3+BSD. An Open Server, Version 1. Client-Server Connection Functions. System V Release 4. 4.3+BSD. An Open Server, Version 2. 16. A Database Library. History. The Library. Implementation Overview. Centralized or Decentralized? Concurrency. Source Code. Performance. 17. Communicating with a PostScript Printer. PostScript Communication Dynamics. Printer Spooling. Source. Code. 18. A Modem Dialer. History. Program Design. Data Files. Server Design. Server Source Code. Client Design. Client Source Code. 19. Pseudo Terminals. Overview. Opening Pseudo-Terminal Devices. System V Release 4. 4.3+BSD. pty_fork Function. pty Program. Using the pty Program. Advanced Features. Appendix A. Function Prototypes. Appendix B. Miscellaneous Source Code. Our Header File. Standard Error Routines. Appendix C. Solutions to Selected Exercises. Bibliography. Index. 0201563177T04062001

About the Author :
We are deeply saddened to learn of the death of noted author W. Richard Stevens. His passing is obviously a tremendous loss for the technical community, but it is a personal one for us as well. Rich was both a gifted colleague and a valued friend who will be greatly missed. We extend our sympathies to his family. Obituary from the Arizona Daily Star: STEVENS, W. Richard, noted author of computer books died on September 1. He is best known for his "UNIX Network Programming" series (1990, 1998, 1999), "Advanced Programming in the UNIX Environment" (1992), and "TCP/IP Illustrated" series (1994, 1995, 1996). Richard was born in 1951 in Luanshya, Northern Rhodesia (now Zambia), where his father worked for the copper industry. The family moved to Salt Lake City, Hurley, New Mexico, Washington, DC and Phalaborwa, South Africa. Richard attended Fishburne Military School in Waynesboro, Virginia. He received a B.SC. in Aerospace Engineering from the University of Michigan in 1973, and an M.S. (1978) and Ph.D. (1982) in Systems Engineering from the University of Arizona. He moved to Tucson in 1975 and from then until 1982 he was employed at Kitt Peak National Observatory as a computer programmer. From 1982 until 1990 he was Vice President of Computing Services at Health Systems International in New Haven, CT, moving back to Tucson in 1990. Here he pursued his career as an author and consultant. He was also an avid pilot and a part-time flight instructor during the 1970's. He is survived by his loving wife of 20 years, Sally Hodges Stevens; three wonderful children, Bill, Ellen and David; sister, Claire Stevens of Las Vegas, NV; brother, Bob and wife Linda Stevens of Dallas, TX; nieces, Laura, Sarah, Collette, Christy; and nephew, Brad. He is predeceased by his parents, Royale J. Stevens (1915-1984); and Helen Patterson Stevens (1916-1997). Helen lived in Tucson from 1991-1997, and Royale lived here in the early 1930's attending Tucson High School while his father was treated for TB at the Desert Sanitorium (now TMC). The family asks that in lieu of flowers, donations be made in Richard's name to Habitat for Humanity, 2950 E. 22nd Street, Tucson, AZ 85713. A memorial service for Richard will be held at St. Phillip's in the Hills Episcopal Church on Tuesday, September 7th at 12:00 noon. Following the service there will be a reception in the Murphy Gallery of the Church. Please wear colorful clothing to the service; Richard loved colors. W. Richard Stevens was an acknowledged UNIX and networking expert and the highly-respected author of several books. He was also a sought-after instructor and consultant. 0201563177AB04062001


Best Sellers


Product Details
  • ISBN-13: 9780201563177
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Language: English
  • Spine Width: 52 mm
  • Width: 242 mm
  • ISBN-10: 0201563177
  • Publisher Date: 06 Jul 1992
  • Binding: Hardback
  • No of Pages: 768
  • Weight: 1790 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Advanced Programming in the UNIX Environment
Pearson Education (US) -
Advanced Programming in the UNIX Environment
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Advanced Programming in the UNIX Environment

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!