210 likes | 434 Views
AIX 应用程序开发. 课程介绍. AIX 应用程序开发. Course Description. 1. 2. 3. 4. Purpose. Audience. Prerequisites. Objectives. 5. Recommended Reading. Purpose.
E N D
课程介绍 AIX应用程序开发
Course Description 中山大学-AIX应用程序开发 1 2 3 4 Purpose Audience Prerequisites Objectives 5 Recommended Reading
Purpose This course is designed to teach C programmers how to use the base programming tools and common AIX system calls. It also provides an introduction to Open Network Computing Remote Procedure Call (ONC RPC) and POSIX threads programming.
Audience This course is primarily geared for people who plan to program in C on the AIX platform. Although the course concentrates on C and AIX, many concepts can be used with other languages (for example, C++ or Fortran) and on other UNIX platforms.
Prerequisites Before taking this course, you should possess: Operating system basic Network programming basic Knowledge of the basic AIX commands (such as the vi editor, cd, ls, pwd, chmod, info, and kill) Basic understanding of UNIX concepts (such as processes, the shell, and the kernel). Working knowledge of C from some computer platform
Objectives After completing this course, you should be able to: Use the base programming tools and utilities (including make and debugger) that are shipped with the AIX operating system. Compile programs using basic and advanced techniques (such as dynamic binding and shared libraries). Use the basic AIX file and I/O system calls. Manage processes (creation, status codes, and so on).
Objectives Utilize AIX system calls to manage signals. Utilize many common Interprocess Communication (IPC) calls, such as pipes, shared memory, semaphores, message queues, and the basics of sockets. Write a simple daemon. Write a simple client and server using the Open Network Computing remote procedure call (ONC RPC) facility. Utilize faster parallel activity through the implementation of POSIX threads.
Recommended Reading There are literally hundreds of books dealing with developing software in the UNIX environment. Here are just a few that seem to appear on a lot of reading lists: Go Solo with the Single UNIX Specification, published by X/Open Company Ltd., istributed by Prentice Hall, ISBN 0-13-439381-3 POSIX Programmer's Guide, Donald Lewine, published by O'Reilly & Associates, Inc., ISBN 0-937175-73-0 Power Programming with RPC, John Bloomer, published byO'Reilly & Associates, Inc., ISBN 0-937175-77-3
Recommended Reading Pthreads Programming, Nichols, Buttlar & Farrell, published byO'Reilly & Associates, Inc., ISBN 1-56592-115-1 Advanced Programming in the UNIX Environment, W. Richard Stevens, published by Addison Wesley, ISBN 0-201-56317-7 UNIX Network Programming, W. Richard Stevens, published by Prentice Hall, ISBN 0-13-949876-1
第一单元:AIX应用程序开发概览 AIX应用程序开发
What is This Unit is About This unit introduces the major themes of this course: The components involved in application programming in the AIX Environment The Single Unix Specification and how it can be used to develop portable software Some of the ways of gaining access to information needed to support the programming effort
What You Should Be Able to Do After completing this unit, you should be able to: List the steps involved in creating a program in the AIX environment Describe the components of program creation Describe the AIX run-time environment Explain the purpose of system calls Describe the role that the Single UNIX Specification plays in assisting in the development of portable software Use the man command to find information on AIX 5L Version 5.1 system calls and commands Use AIX 5L Version 5.1 online documentation as a reference for programming information
Unit Objectives After completing this unit, you should be able to: List the steps involved in creating a program in the AIX environment Describe the components of program creation Describe the AIX run-time environment Explain the purpose of system calls Describe the role that the Single UNIX Specification plays in assisting in the development of portable software Use the man command to find information on AIX 5L Version 5.1 system calls and commands Use AIX 5L Version 5.1 online documentation as a reference for programming information
Debugging The features of a debugger include: Allows programmers to view source code at the time of exection Variables can be inspected Breakpoints control the execution of the program Stack traces show the flow of execution Allow debugging of multiple processes AIX 5L Version 5.1 supports dbx, adb, and idebug debuggers.