Beginning Linux Programming Third Edition phần 4 pps
... { mvprintw(ERROR_LINE, 0, “You must select a CD first. “); get_return(); return; } 244 Chapter 6 b 544 977 Ch06.qxd 12/1/03 8:56 AM Page 244 Try It Out—Querying the CD Database 1. Essential to all acquisitive ... rapidly and efficiently and the Linux kernel protect itself from a total lack of resources, which is a serious issue. 2 54 Chapter 7 b 544 977 Ch07.qxd 12/1/03 8:56 AM Page 2 5...
Ngày tải lên: 09/08/2014, 14:21
... Profiling with prof/gprof 43 8 Assertions 43 9 Try It Out—assert 43 9 Memory Debugging 44 0 ElectricFence 44 1 Try It Out—ElectricFence 44 1 valgrind 44 2 Try It Out—valgrind 44 2 Summary 44 4 Chapter 11: Processes ... Signals 44 5 What Is a Process? 44 5 Process Structure 44 6 The Process Table 44 7 Viewing Processes 44 7 System Processes 44 9 Process Scheduling 45 0 Starting...
Ngày tải lên: 09/08/2014, 14:21
... (a=0x8 049 580, n =4) at debug4.c:20 20 /* 20 */ for(; i < n && s != 0; i++) { 43 0 Chapter 10 b 544 977 Ch10.qxd 12/1/03 8:56 AM Page 43 0 This directory is specific to Red Hat Linux. Other Linux ... 86 64 0.01 0.03 _doscan [4] 18.5 0.20 0.10 mcount (60) 14. 8 0.28 0.08 43 320 0.00 0.00 _number [5] 9.3 0.33 0.05 86 64 0.01 0.01 _format_arg [6] 7 .4 0.37 0. 04 112632 0....
Ngày tải lên: 09/08/2014, 14:21
Beginning Linux Programming Third Edition phần 8 ppsx
... -> s_port)); 606 Chapter 15 b 544 977 Ch15.qxd 12/1/03 8:57 AM Page 606 16 Programming GNOME Using GTK+ So far in this book, we’ve covered the major topics in Linux programming that deal with complex, under-the-hood ... by UDP datagrams. 5 94 Chapter 15 b 544 977 Ch15.qxd 12/1/03 8:57 AM Page 5 94 For distributions that use RPMS, you should have at least the following RPMS install...
Ngày tải lên: 09/08/2014, 14:21
Beginning Linux Programming Third Edition phần 2 doc
... the newline. If your scripts need to work only on Linux and bash, echo -n should be fine. 54 Chapter 2 b 544 977 Ch02.qxd 12/1/03 8:55 AM Page 54 unset The unset command removes variables or functions ... “$1” then echo “Hi $1, nice name” else echo “Never mind” fi exit 0 49 Shell Programming b 544 977 Ch02.qxd 12/1/03 8:55 AM Page 49 Try It Out—Parameter Processing Each portion of...
Ngày tải lên: 09/08/2014, 14:21
Beginning Linux Programming Third Edition phần 3 docx
... CDDB=mycds; export CDDB $ cdapp or $ CDDB=mycds cdapp 144 Chapter 4 b 544 977 Ch 04. qxd 12/1/03 8:55 AM Page 144 You might also see C programs for Linux simply declaring main as main() This will still ... When this happens, the error variable errno will be set to ENOMEM. 142 Chapter 4 b 544 977 Ch 04. qxd 12/1/03 8:55 AM Page 142 Conversion Specifier Description %H Hour, 00-23...
Ngày tải lên: 09/08/2014, 14:21
Beginning Linux Programming Third Edition phần 5 potx
... %s\n”, mysql_errno(&my_connection), mysql_error(&my_connection)); } } return EXIT_SUCCESS; } 344 Chapter 8 b 544 977 Ch08.qxd 12/1/03 8:56 AM Page 344 ... + | 4 | + + 1 row in set (0.01 sec) mysql> INSERT INTO children(fname, age) VALUES(‘Harry’, 17); Query OK, 1 row affected (0.02 sec) 3 34 Chapter 8 b 544 977 Ch08.qxd 12/1/03 8:56 AM Page 3 34 Name: ... NULL ); Again we h...
Ngày tải lên: 09/08/2014, 14:21
Beginning Linux Programming Third Edition phần 7 pot
... sched_param *param); int pthread_attr_setinheritsched(pthread_attr_t *attr, int inherit); 49 4 Chapter 12 b 544 977 Ch12.qxd 12/1/03 8:56 AM Page 49 4 3. We now check whether the FIFO exists, and we create it if necessary. ... (strncmp(*argv, “O_NONBLOCK”, 10) == 0) open_mode |= O_NONBLOCK; } 5 24 Chapter 13 b 544 977 Ch13.qxd 12/1/03 8:56 AM Page 5 24 char buffer[BUFSIZ + 1]; int file_de...
Ngày tải lên: 09/08/2014, 14:21
Beginning Linux Programming Third Edition phần 9 pdf
... dialog; MainWindow *window = new MainWindow( “Cd App” ); window->resize( 600, 40 0 ); 719 Programming KDE Using Qt b 544 977 Ch17.qxd 12/1/03 8:57 AM Page 719 reveal the menu, and the number of options ... QCheckBox(“CheckButton”, widget, “check”); vbox->addWidget(checkbox); 6 94 Chapter 17 b 544 977 Ch17.qxd 12/1/03 8:57 AM Page 6 94 virtual QString text ( int column ) const QList...
Ngày tải lên: 09/08/2014, 14:21
Beginning Linux Programming Third Edition phần 10 docx
... movw 0x2(%ebx),%cx Code: c0 144 050 <proc_lookup+5c/e0> 10: 3b 4e 44 cmpl 0x 44( %esi),%ecx Code: c0 144 053 <proc_lookup+5f/e0> 13: 75 00 jne 15 <_EIP+0x15> c0 144 055 <proc_lookup+61/e0> For ... of /proc/interrupts: CPU0 CPU1 0: 136 844 7 1 341 817 IO-APIC-edge timer 1: 47 6 84 47510 IO-APIC-edge keyboard 2: 0 0 XT-PIC cascade 4: 181793 182 240 IO-APIC-edge seria...
Ngày tải lên: 09/08/2014, 14:21