Image from Google Jackets

Advanced UNIX programming / Warren W. Gay.

By: Material type: TextTextPublication details: New Delhi : Sams Pub., c2000.Description: xvii, 604 p. : ill. ; 24 cmISBN:
  • 067231990X
  • 8176354910
Subject(s): DDC classification:
  • 005.4/32 21
LOC classification:
  • QA76.76.O63 G3968 2000
Contents:
Introduction. I: FILES AND DIRECTORIES. 1. Compiler Notes and Options. Online Manual Pages. Manual References Used in This Book. man(1) Resources on the Internet. Example Code in This Book. Compiling C Programs. The C Compile Command. Managing Compiler Warnings. Working with Compiler Warning Messages. Compiling to Standards. FreeBSD 3.4-Release Feature Tests. HPUX 10.2 Feature Tests. AIX 4.3 Feature Tests. SunOS 5.6 Feature Tests. Feature Test Summary. Summary. 2. UNIX File System Objects. File System Objects. Regular Files. Directories. Block Devices. Character Devices. Named Pipes (FIFOs). Sockets. Symbolic Links. Special Files. Permissions. Access of Regular Files. Access of Directories. Working with Files Under UNIX. Opening and Closing Files. Opening Special Files. Working with Sockets. Duplicating File Descriptors. UNIX File I/O. Summary. 3. Error Handling and Reporting. Determining Success or Failure. General Rules for Error Indication. Exceptions to the General Rule. Classifying Successful Return Values. Other Return Indications. Determining the Reason for Failure. The Old errno Value. Referencing Error Codes by Name. Applying errno Correctly. The New errno Value. Declaring the New errno Variable. Using the New errno Variable. Reporting on errno Values. Using the perror(3) Function. Using the sys_errlist[ ] Array. The strerror(3) Function. Testing for Errors Using stdio(3). Pitfalls of the ferror(3) Function. Avoiding the fclose(3) Pitfall. Delaying the Reporting of an Error. Summary. 4. UNIX Input and Output. The umask(2) Function and umask Bits. Permission Bits. Understanding the Need for umask. Understanding the Scope of umask. Using the umask(2) Function. Example Using the umask Value. The umask(2) Function. The creat(2) Function. Reading and Writing. Introducing read(2) and write(2). Applying UNIX I/O. Seeking Within a File. Applying lseek(2). Truncating Files. The truncate(2) Function. The ftruncate(2) Functio
Summary: UNIX Programming is designed to enable the reader to get the most out of the UNIX programming libraries. It will show the reader how to master the UNIX static and runtime libraries, to develop creative designs, and write successful, portable code. It provides the reader with the capability of building programming strength under UNIX by providing solid code examples. The organization of the material will make it a useful reference tool. Some topics covered that are often missing from UNIX programming books are: -- xWindow programming -- Regular Expression Matching -- Memory Mapped Files -- DBM database library routines Sams White Books present high-level expertise for a professional audience. The books explain what the technology is and how it can be used rather than how it is supposed to work. Workarounds are always explored if necessary. The advice, code and examples all reflect practical, realistic ways for solving problems.
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)
Holdings
Item type Current library Call number Copy number Status Barcode
Books Library First Floor QA76.76.O63 G3968 2000 (Browse shelf(Opens below)) 1 Available 1599
Books Library First Floor QA76.76.O63 G3968 2000 (Browse shelf(Opens below)) 2 Available 1601
Books Library First Floor QA76.76.O63 G3968 2000 (Browse shelf(Opens below)) 3 Available 1602
Books Library First Floor QA76.76.O63 G3968 2000 (Browse shelf(Opens below)) 4 Available 1603
Books Library First Floor QA76.76.O63 G3968 2000 (Browse shelf(Opens below)) 5 Available 1600
Browsing Library shelves, Shelving location: First Floor Close shelf browser (Hides shelf browser)
No cover image available
QA76.76.O63 G3968 2000 Advanced UNIX programming / QA76.76.O63 G3968 2000 Advanced UNIX programming / QA76.76.O63 G3968 2000 Advanced UNIX programming / QA76.76.O63 G3968 2000 Advanced UNIX programming / QA76.76.O63 G3968 2000 Advanced UNIX programming / QA76.76.O63 H343 1995 The UNIX companion / QA76.76.O63 H647 1996 Real-World Networking with NT 4 /

Includes index.

Introduction. I: FILES AND DIRECTORIES. 1. Compiler Notes and Options. Online Manual Pages. Manual References Used in This Book. man(1) Resources on the Internet. Example Code in This Book. Compiling C Programs. The C Compile Command. Managing Compiler Warnings. Working with Compiler Warning Messages. Compiling to Standards. FreeBSD 3.4-Release Feature Tests. HPUX 10.2 Feature Tests. AIX 4.3 Feature Tests. SunOS 5.6 Feature Tests. Feature Test Summary. Summary. 2. UNIX File System Objects. File System Objects. Regular Files. Directories. Block Devices. Character Devices. Named Pipes (FIFOs). Sockets. Symbolic Links. Special Files. Permissions. Access of Regular Files. Access of Directories. Working with Files Under UNIX. Opening and Closing Files. Opening Special Files. Working with Sockets. Duplicating File Descriptors. UNIX File I/O. Summary. 3. Error Handling and Reporting. Determining Success or Failure. General Rules for Error Indication. Exceptions to the General Rule. Classifying Successful Return Values. Other Return Indications. Determining the Reason for Failure. The Old errno Value. Referencing Error Codes by Name. Applying errno Correctly. The New errno Value. Declaring the New errno Variable. Using the New errno Variable. Reporting on errno Values. Using the perror(3) Function. Using the sys_errlist[ ] Array. The strerror(3) Function. Testing for Errors Using stdio(3). Pitfalls of the ferror(3) Function. Avoiding the fclose(3) Pitfall. Delaying the Reporting of an Error. Summary. 4. UNIX Input and Output. The umask(2) Function and umask Bits. Permission Bits. Understanding the Need for umask. Understanding the Scope of umask. Using the umask(2) Function. Example Using the umask Value. The umask(2) Function. The creat(2) Function. Reading and Writing. Introducing read(2) and write(2). Applying UNIX I/O. Seeking Within a File. Applying lseek(2). Truncating Files. The truncate(2) Function. The ftruncate(2) Functio

UNIX Programming is designed to enable the reader to get the most out of the UNIX programming libraries. It will show the reader how to master the UNIX static and runtime libraries, to develop creative designs, and write successful, portable code. It provides the reader with the capability of building programming strength under UNIX by providing solid code examples. The organization of the material will make it a useful reference tool. Some topics covered that are often missing from UNIX programming books are: -- xWindow programming -- Regular Expression Matching -- Memory Mapped Files -- DBM database library routines Sams White Books present high-level expertise for a professional audience. The books explain what the technology is and how it can be used rather than how it is supposed to work. Workarounds are always explored if necessary. The advice, code and examples all reflect practical, realistic ways for solving problems.

There are no comments on this title.

to post a comment.
New Arrivals

Loading...

Contact Us

Library: Location maps

Phone: 00968 2323 7091 Email: Ask us a question

Library Hours

Sunday - Thursday 7:30AM - 8:00 PM

Friday - Saturday Closed