Tài liệu Advanced Linux Programming: 3-Processes 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

... 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 calls. In this appendix, we ... determine the currently executing function.These samples determine function execution times. Because Linux s clock ticks are 0.01 seconds apart, these interruptions occur, at most, every 0.01...

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

22 497 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: 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: 7-The /proc File System pdf

Tài liệu Advanced Linux Programming: 7-The /proc File System pdf

... assembly instructions in GNU /Linux programs. 4. Note that under DOS and Windows, serial ports are numbered from 1, so COM1 corresponds to serial port number 0 under Linux. 09 0430 CH07 5/22/01 ... release that was used—for example: % cat /proc/version Linux version 2.2.14-5.0 (root@porky.devel.redhat.com) (gcc version egcs-2.91.66 19990314 /Linux (egcs-1.1.2 release)) #1 Tue Mar 7 21...

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

20 428 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: 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
w