Buy Solaris Systems Programming by Rich Teer at Bookstore UAE
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 > Solaris Systems Programming
Solaris Systems Programming

Solaris Systems Programming


     0     
5
4
3
2
1



Out of Stock


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

Solaris Systems ProgrammingRich TeerThe first definitive guide to programming in the Solaris Operating EnvironmentIn the tradition of W. Richard Stevens Advanced Programming in the UNIX Environment, this book offers comprehensive, practical guidance for systems programmers. It covers all versions of the Solaris OS, from 2.5 through 9 and is relevant to both SPARC and x86 platforms. From I/O to IPC, pseudo terminals to localization, and processes to doors, Rich Teer illuminates the unique features and subtleties of this environment as never before. As a former Sun Microsystems, Inc. consultant, long-time C programmer, and tech reviewer for Stevens UNIX Network Programming, Teer is singularly well qualified to write this book. Using real-world case studies, code examples, and diagrams, he explains both the "how" and "why" of Solaris systems programming--helping any C programmer write efficient, reliable code. Coverage includes: Terminology and features used in Solaris systems programming Fundamentals: utility functions, file I/O, standard I/O library, date/time operations, users/groups, system information, resource limits, and secure C programming I/O in depth: files, directories, file systems, terminal I/O, and advanced I/O Processes and process control: UNIX process environments, relationships, signals, and daemon processes Interprocess communications: Pipes, FIFOs, System V IPC facilities, doors, and more Appendices on internationalization, localization, and BSD source compatibility Portability guidance: flags all features that are specific to Solaris USD59.99 U.S./USD86.99 CanadaPRENTICE HALL PTRUpper Saddle River, NJ 07458www phptr.com(c) Copyright Pearson Education. All rights reserved.

Table of Contents:
List of Programs. List of Figures. Preface. PART I. INTRODUCTION. 1. Introduction. Introduction. Logging In. Shells. Files, Directories, and File Systems. Input and Output. Programs, Processes, and Threads. Error Handling. User Identification. Signals. UNIX Time Values. System Calls and Library Functions. Introduction to 64-Bit Programming. Writing 64-Bit Clean Programs. Compiling and Installing 64-Bit Programs. The Large File Compilation Environment. The Transitional Large File Compilation Environment. Summary. 2. Chapter Title?   Introduction. The Early Days: SunOS. Beyond SunOS: Solaris. Standards. ANSI/ISO/IEC C. System V Interface Definition. IEEE POSIX. The Open Group’s XPG4. The Single UNIX Specification. Solaris 2.5. Solaris 2.5.1  Solaris 2.6. Solaris 7. Solaris 8. Solaris 9. Solaris Standards Compliance. Compiling Standards Conforming Applications. Summary. PART II. FUNDAMENTAL TOPICS. 3. Utility Functions. Introduction. Manipulating Character Classes. Testing Character Class Membership. Changing Character Class Membership. Summary of Character Classes. Manipulating Character Strings. Finding the Length of a String. Comparing Strings. String Concatenation. Copying Strings. String Searching Functions. Duplicating Strings. Splitting a String into Tokens. Functions for Transforming Strings. Converting Strings to Numbers. Converting Numbers to Strings. Manipulating Byte Arrays. Comparing Byte Arrays. Copying Byte Arrays. Searching Byte Arrays. Initializing Byte Arrays. Dynamic Memory. Memory Alignment. Allocating Dynamic Memory. Freeing Dynamic Memory. Other Memory Management Packages. The malloc Library. The bsdmalloc Library. The mapmalloc Library. The watchmalloc Shared Object. Comparing the malloc Libraries. Temporary Files. Generating Temporary Filenames. Creating Temporary Files. Parsing Command Line Arguments. Error Repor ting. Suspending a Process. Summary. 4. Basic File I/O. Introduction. File Descriptors. The open Function. The creat Function. The close and closefrom Functions. The lseek and llseek Functions. The tell Function. The read and pread Functions. The write and pwrite Functions. The readn and writen Functions. I/O Efficiency. File Sharing. Atomic Operations. The dup and dup2 Functions. The fcntl Function. The ioctl Function. The fdwalk Function. Direct I/O. The /dev/fd File System. Summary. 5. The Standard I/O Library. Introduction. File Streams, Data Types, and Constants. Standard Input, Standard Output, and Standard Error. Opening a File Stream. Closing a File Stream. Reading and Writing. Character Input Functions. Character Output Functions. Line Input Functions. Line Output Functions. Binary I/O. Stream Status. For matted I/O. Formatted Output. Formatted Input. For mat Conversion Specifications. C Language Escape Sequences. Positioning a Stream. File Stream Locking. Unlocked File Stream I/O. Buffering. Standard I/O Efficiency. Summary. 6. Date and Time Operations. Introduction. The Complexities of Converting Time. Getting the Current Time. The difftime Function. Setting the Current Time. Getting the Current Time Zone. Converting between UNIX Time and Calendar Time. The localtime and localtime_r Functions. The gmtime and gmtime_r Functions. The mktime Function. For matted Date I/O. Converting a Date to a For matted String. Converting a For matted String to a Date. Summary. 7. Users and Groups. Introduction. User Names. User IDs. Group IDs. Group Membership. The Password File. The Shadow Password File. Reading and Encrypting Passwords. The Group File. The utmpx and wtmpx Files. The utmp and wtmp Files. The lastlog File. The shells File. Summary. 8. System Information and Resource Limits. Introduction. System Information and Identification. System Resource Limits. Per-Process Resource Limits. The Resource Control Facility. Resource Control Examples. Resource Usage Information. Determining Resource Usage Using the /proc File System. Determining the System’s Load Average. Summary. 9. Secure C Programming. Introduction. Buffer Overflows. The Program’s Environment. Defensive Programming. The Principle of Least Privilege. Using chroot Jails. Tips For Writing Secure Programs. Summary. PART III. INPUT/OUTPUT. 10. Files and Directories. Introduction. Pathname Components. The stat , fstat , and lstat Functions. File Types. Set-User-ID and Set-Group-ID. The Sticky Bit. File Access Permissions. The access Function. The umask Function. The chmod and fchmod Functions. The chown , fchown , and lchown Functions. File Size. File Truncation. File Systems. The link and unlink Functions. The remove and rename Functions. Symbolic Links. Resolving Paths that Might Contain Symbolic Links. The symlink and readlink Functions. File Times. Changing a File’s Access and Modification Times. Creating and Removing Directories. Reading Directories. The chdir , fchdir , and getcwd Functions. The chroot and fchroot Functions. Special Files. The sync and fsync Functions. Putting It All Together. Summary. 11. Working with File Systems. Introduction. Disk Terminology. The Mounted File System Table. The mntfs File System ioctl commands. File System Defaults. Mounting and Unmounting File Systems. Obtaining the Status of a File System. Reading File System Data Structures. Summary. 12. Terminal I/O. Introduction. Overview of Terminal I/O. Special Input Characters. Getting and Setting Terminal Attributes. Terminal Option Flags. Baud Rate Functions. Line Control Functions. Terminal Identification. Canonical Mode. Non-Canonical Mode. Terminal Window Size. Device-Independent Terminal Control. Summary. 13. Advanced I/O. Introduction. Nonblocking I/O. Record Locking. Record Locking Using fcntl. Record Locking Using lockf. Deadlock and Livelock. Lock Inheritance and Release. Mandatory Versus Advisory Locking. The STREAMS I/O Subsystem. STREAMS Messages. The putmsg and putpmsg Functions. The getmsg and getpmsg Functions. STREAMS ioctl Operations. STREAMS I/O Using read and write. I/O Multiplexing. The select Function. The poll Function. The /dev/poll Device Driver. Asynchronous I/O. Asynchronous I/O With STREAMS Device Files. Asynchronous I/O With Other Files. The readv and writev Functions. The sendfile and sendfilev Functions. Memory Mapped I/O. The mmap and munmap Functions. The mprotect Function. The madvise Function. The msync Function. Locking Pages in Memory. The memcntl Function. Summary of Memory Mapped I/O. Access Control Lists. The acl and facl Functions. The aclfromtext and acltotext Functions. The aclcheck Function. The aclfrommode and acltomode Functions. The aclsort Function. Extended File Attributes. The openat and attropen Functions. The fstatat Function. The unlinkat Function. The renameat Function. The fchownat Function. The futimesat Function. Changing Extended Attribute File Permissions. Summary. PART IV. PROCESSES AND PROCESS CONTROL. 14. The Environment of a UNIX Process. Introduction. Process Star t-Up. Process Termination. Command Line Arguments. Environment Variables. The Memory Layout of a C Program. Shared Objects. Memory Allocation. The setjmp and longjmp Functions. Resource Limits. Summary. 15. Process Control. Introduction. Process Identifiers. The fork and fork1 Functions. The vfork Function. The exit and _exit Functions. The wait Function. The waitpid Function. The wait3 and wait4 Functions. The waitid Function. Race Conditions. The exec Functions. Interpreter Files. The system Function. Process Accounting. Summary. 16. Process Relationships. Introduction. Terminal Logins. Network Logins. Process Groups. Sessions. Controlling Terminal. The tcgetpgrp and tcsetpgrp Functions. The tcgetsid Function. Job Control. Shell Execution of Programs. Orphaned Process Groups. Summary. 17. Signals. Introduction. Signal Concepts. The signal Function. Unreliable Signals. Reliable Signals. The sigset Function. The pause Function. The sighold , sigrelse , sigignore , and sigpause Functions. Interrupted System Calls. Reentrant Functions Comparing the SIGCHLD and SIGCLD Signals. The kill , killpg , raise , sigsend , and sigsendset Functions. The alarm Function. Interval Timers. POSIX Signals. Signal Sets. The sigprocmask Function. The sigpending Function. The sigaction Function. The sigfpe Function. The sigsetjmp and siglongjmp Functions. The sigsuspend Function. The sigwait Function. The abort Function. The system Function Revisited. The sleep Function Revisited. Job Control Signals. Software Signals. Alternate Signal Stacks. System Signal Messages. The sig2str and str2sig Functions. Summary. 18. Daemon Processes. Introduction. Characteristics of Daemons. Error Logging. The STREAMS log Driver. The syslog Facility. Becoming a Daemon. Starting Only One Copy of a Daemon. Summary. PART V. INTERPROCESS COMMUNICATION. 19. Interprocess Communication Using Pipes and FIFOs. Introduction. Pipes. The popen and pclose Functions. Coprocesses. FIFOs. Iterative Versus Concurrent Servers. Summary. 20. The System V Interprocess Communication Facility. Introduction. System V IPC Concepts. System V Message Queues. System V Semaphores Sets. System V Shared Memory. Performance Comparisons. Summary. 21. Advanced Interprocess Communication. Introduction. Passing File Descriptors. An Open Server, Version 1. Client-Server Connection Functions. An Open Server, Version 2. Summary. 22. Doors. Introduction. Basic Door Functions. Door Information Functions. Advanced Door Facilities. Premature Termination of a Door Client or Server. Summary. PART VI. PSEUDO TERMINALS. 23. Pseudo Terminals. Introduction. Overview. Opening a Pseudo Terminal Device. The pty_fork Function. The pty Program. Using the pty Program. Advanced Features. Summary. Appendix A. An Internationalization and Localization Primer. Introduction. Locales. The setlocale Function. Message Catalogues. Creating a Message Catalogue. The bindtextdomain Function. The gettext , dgettext , and dcgettext Functions. The textdomain Function. The strcoll and strxfrm Functions. Checklist for Writing Internationalized Programs. Summary. Appendix B. The BSD Source Compatibility Package. Introduction. Functions That Have Been Removed from the SCP. Obsolescent SCP-Originated Functions. SCP-Originated Functions That Are Not Obsolescent. Summary. Appendix C. Function Summary. Introduction. Function Prototypes. Function Availability. Appendix D. Miscellaneous Source Code. Our Header File, ssp.h. Standard Error Functions. File Status Flags Functions. Section Locking Function. Our readn and writen Functions. Ter mination Status Function. Our Version of snprintf. Appendix E. Solutions to Selected Exercises. Bibliography. Index.

About the Author :
About the Author RICH TEER is a UNIX consultant based in Kelowna, BC, Canada. A long-time respected member of the UNIX community, Rich is an acknowledged Solaris system administration and programming expert, holding SCSA, SCNA, and SCSA certifications. He has fourteen years' C programming experience, and more than nine years' experience working with Sun systems, including two years as a technical support consultant for Sun Microsystems, Inc. He was a technical reviewer for W. Richard Stevens' highly acclaimed UNIX Network Programming, 2nd Edition. © Copyright Pearson Education. All rights reserved.


Best Sellers


Product Details
  • ISBN-13: 9780201750393
  • Publisher: Pearson Education Limited
  • Publisher Imprint: Addison Wesley
  • Height: 245 mm
  • No of Pages: 1248
  • Weight: 1904 gr
  • ISBN-10: 0201750392
  • Publisher Date: 02 Sep 2004
  • Binding: Hardback
  • Language: English
  • Spine Width: 50 mm
  • Width: 183 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Solaris Systems Programming
Pearson Education Limited -
Solaris Systems Programming
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.

Solaris Systems Programming

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!