000 03689cam a22002654a 4500
001 vtls000005236
003 VRT
005 20250102224606.0
008 090222s2000 inua | 00100 eng
010 _a00-103678
020 _a067231990X
020 _a8176354910
039 9 _a201402040127
_bVLOAD
_c201004111034
_dmalmash
_c200902221424
_dalawaid
_c200902221422
_dalawaid
_y200902221421
_zalawaid
050 0 0 _aQA76.76.O63
_bG3968 2000
082 0 0 _a005.4/32
_221
100 1 _aGay, Warren.
_944304
245 1 0 _aAdvanced UNIX programming /
_cWarren W. Gay.
260 _aNew Delhi :
_bSams Pub.,
_cc2000.
300 _axvii, 604 p. :
_bill. ;
_c24 cm.
500 _aIncludes index.
505 _aIntroduction. 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
520 _aUNIX 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.
650 0 _aOperating systems (Computers)
_91424
942 _2lcc
_n0
_cBK
999 _c20436
_d20436