Tài liệu Advanced Linux Programming: A-Other Development Tools pdf

Tài liệu Advanced Linux Programming: A-Other Development Tools pdf

Tài liệu Advanced Linux Programming: A-Other Development Tools pdf

... APPA 5/22/01 10:53 AM Page 277 Other Development Tools A DEVELOPING CORRECT, FAST C OR C++ GNU /LINUX PROGRAMS requires more than just understanding the GNU /Linux operating system and its system ... with several tools to get the best error checking. 15 0430 APPA 5/22/01 10:53 AM Page 261 262 Appendix A Other Development Tools Table A.1 Capabilities of Dynamic Memory-Checking Too...

Ngày tải lên: 21/01/2014, 07:20

22 497 0
Tài liệu Advanced Linux Programming: B Low-Level I/O docx

Tài liệu Advanced Linux Programming: B Low-Level I/O docx

... I/O B CPROGRAMMERS ON GNU /LINUX HAVE TWO SETS OF INPUT/OUTPUT functions at their disposal.The standard C library provides I/O functions: printf, fopen, and so on. 1 The Linux kernel itself provides ... descriptor may cause Linux to take a particular action, depending on the nature of the file descriptor. For example, when you close a file descriptor for a network socket, Linux closes...

Ngày tải lên: 21/01/2014, 07:20

20 465 0
Tài liệu Advanced Linux Programming: C Table of Signals ppt

Tài liệu Advanced Linux Programming: C Table of Signals ppt

... following: % man 7 signal Table C.1 Linux Signals Name Description SIGHUP Linux sends a process this signal when it becomes disconnected from a terminal. Many Linux programs use SIGHUP for an ... in /usr/include/sys/signum.h, which is included as part of <signal.h>. For a full list of Linux signals, including a short description of each and the default behavior when the signal...

Ngày tải lên: 21/01/2014, 07:20

2 453 0
Tài liệu Advanced Linux Programming: D Online Resources pptx

Tài liệu Advanced Linux Programming: D Online Resources pptx

... VISIT ON THE INTERNET to learn more about programming for the GNU /Linux system. D.1 General Information n http://www.advancedlinuxprogramming.com is this book’s home on the Internet. Here, you ... information about pro- gramming GNU /Linux. The same information can also be found at http://www.newriders.com. n http://www.linuxdoc.org is the home of the Linux Documentation Project. This sit...

Ngày tải lên: 21/01/2014, 07:20

2 338 0
Tài liệu Advanced Linux Programming: 1-Advanced UNIX Programming with Linux pdf

Tài liệu Advanced Linux Programming: 1-Advanced UNIX Programming with Linux pdf

... 5/22/01 10:19 AM Page 15 02 0430 CH01 5/22/01 10:19 AM Page 16 Advanced UNIX Programming with Linux I 1 Getting Started 2 Writing Good GNU /Linux Software 3 Processes 4 Threads 5 Interprocess Communication 01 ... page is outdated. To help you navigate, here are the most useful sources of information about advanced Linux programming. 6. Some people have commented that saying break mai...

Ngày tải lên: 21/01/2014, 07:20

16 439 0
Tài liệu Advanced Linux Programming: 2-Writing Good GNU/Linux Software pptx

Tài liệu Advanced Linux Programming: 2-Writing Good GNU/Linux Software pptx

... GNU /Linux system in certain ways. GNU/ Linux provides other ways for interacting with the operating environment, too. 03 0430 CH02 5/22/01 10:20 AM Page 17 36 Chapter 2 Writing Good GNU /Linux ... guidelines presented, you’ll be able to write programs that work well within the GNU /Linux environment and meet GNU /Linux users’ expec- tations of how programs should operate. 2.1 Interacti...

Ngày tải lên: 21/01/2014, 07:20

28 363 1
Tài liệu Advanced Linux Programming: 3-Processes pdf

Tài liệu Advanced Linux Programming: 3-Processes pdf

... special type sig_atomic_t. Linux guarantees that assignments to variables of this type are per- formed in a single instruction and therefore cannot be interrupted midway. In Linux, sig_atomic_t is ... in Chapter 5, “Interprocess Communication,” but fortunately Linux does this for you, using signals. When a child process terminates, Linux sends the parent process the SIGCHLD signal. T...

Ngày tải lên: 26/01/2014, 07:20

16 425 0
Tài liệu Advanced Linux Programming: 4-Threads docx

Tài liệu Advanced Linux Programming: 4-Threads docx

... returns, the thread exits. On GNU /Linux, thread functions take a single parameter, of type void*, and have a void* return type.The parameter is the thread argument: GNU /Linux passes the value along ... same memory space, thread-specific data may not be accessed using normal variable references. GNU /Linux provides special functions for setting and retrieving values from the thread-specifi...

Ngày tải lên: 26/01/2014, 07:20

34 400 0
w