![[Book Cover]](../covergif/0133315622.gif)
|
UNIX System Programming Using C++, 1/e
Terrence Chan, Danville, California
Published October, 1996 by Prentice Hall PTR (ECS Professional)
Copyright 1997, 624 pp.
Paper
ISBN 0-13-331562-2
|
Sign up for future mailings on this subject.
See other books about:
UNIX--Advanced-Computer Science
UNIX Programming (Tc/Tk, Shells, Perl)-IT Continuing Education
|

The purpose of this text is to teach UNIX/C programmers advanced C
programming techniques in the UNIX/POSIX environment, so that they
will understand the advanced features of the ANSI-C language, become
familiar with C library functions and the UNIX system calls and
become familiar with the ANSI-C and POSIX standards.
this text covers extensively the C library functions and
standard I/O functions so that students can use them as much as
possible in their programs.
the materials of this book are derived from lecture notes
that have been proven to be useful in solving the students real life
problems in applications on networking, database, compilers, operating
systems, and CAD.
depicts extensive examples of how to use these system calls
to create powerful client/server programs.
1. Introduction.
The applications of Advanced C and UNIX system calls. The
history of UNIX. The ANSI-C and POSIX standards. Scope of book.
2. ANSI-C Language.
ANSI-C language construct. Summary of differences between
ANSI-C and K & R C. stdlib.h. limints.h. float.h. Template types.
const. variables. Pointers and arrays. Function pointers. Object-
oriented programming techniques with C.
3. Standard C Libraries.
Data manipulation functions. Heap management functions.
System query functions.
4. Standard I/O Libraries.
stdio.h. and streams. Format I/O functions. Streams I/O.
5. Misc. C Library Functions.
assert.h., setjmp., tdarg.h., gecopt., system, popen,
pclose.
6. UNIX System Calls.
System calls conventions. Portability issues of system
calls. unistd.h.
7. UNIX File I/O Functions.
Relationship of file descriptor and streams. fdopen, fileno.
open, creat, umask, close. read, write, lseek. stat, fsat, lstat.
chown, chmod, utime. link, symlink, readlink, unlink. dup, dup2,
fcntl. File lockings.
8. UNIX Directories.
Create directories: mknod and mkdir. Remove directories:
rmdir. Directory traversal: dirent.h. ftw and nftw.
9. Special Files.
Device files; mknod. Named pipes.
10. UNIX Processes Creation and Control.
UNIX process structure. fork. exit. wait and waitpid. exec.
pipe and I/O redirection. Amini-shell.
11. Signals.
signals handling: signal, sigaction. signal masking. signal
generation: kill, alarm. Interactions of signal and wait.
12. Interprocess Communication.
Create client/server programs using IPC. System V IPC.
Memory-mapped I/O: mmap. Sockets. TLI. Remote procedure calls.
13. Terminal Controls.
14. Future Directions of UNIX.
Multi-thread processes. Object-oriented operating system.
15. Appendix A: Function Prototypes of C Library Functions
and System Calls.
Bibliography.
Index.
|