advanced linux programming - toc

Advanced Linux Programming: 11-A Sample GNU/Linux Application

Advanced Linux Programming: 11-A Sample GNU/Linux Application

... info Many GNU /Linux programs come with documentation in plain text or HTML formats as well. Happy GNU /Linux programming! 13 0430 CH11 5/22/01 10:46 AM Page 256 244 Chapter 11 A Sample GNU /Linux Application While ... popular open source Web server for GNU /Linux is the Apache server, available from http://www.apache.org . 13 0430 CH11 5/22/01 10:46 AM Page 220 A Sample GNU /Li...

Ngày tải lên: 17/10/2013, 19:15

40 372 0
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 272 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 ... GNU /Linux systems and has been well tested. After ensuring that the number of allocations and deallocations match, use 15 0430 APPA 5/22/01 10:53 AM Page 266 270 Appendix A Other Devel...

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

... be read from the file descriptor. B. 4 Relation to Standard C Library I/O Functions We mentioned earlier that the standard C library I/O functions are implemented on top of these low-level I/O ... standard library functions with file descriptors, or to use low-level I/O functions on a standard library FILE* stream. GNU /Linux < /b> enables you to do both. If you’ve opened a fil...

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

... in Chapter 3,“Processes.” SIGXCPU Linux sends a process this signal when it exceeds the limit of CPU time that it can consume. See Section 8.5, “ getrlimit and setrlimit: Resource Limits,” in Chapter ... pointer” can cause a SIGSEGV. SIGPIPE The program has attempted to access a broken data stream, such as a socket connection that has been closed by the other party. SIGALRM The alarm sys...

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

... 304 Appendix D Online Resources D. 2 Information About GNU /Linux Software n http://www.gnu.org is the home of the GNU Project. From this site, you can download a staggering array of sophisticated free ... GNU /Linux systems, and it includes compilers for C, C++, Objective C, Java, Chill, and Fortran. n http://www.gnome.org and http://www.kde.org are the homes of the two most popular...

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

2 338 0
Tài liệu Advanced Linux Programming: E Open Publication License doc

Tài liệu Advanced Linux Programming: E Open Publication License doc

... conditions set forth in the Open Publication License, vX.Y or later (the latest version is presently available at http://www.opencontent.org/openpub/). The reference must be immediately followed with ... any options elected by the author(s) or publisher of the document (see Section VI, License Options”). Commercial redistribution of Open Publication- licensed material is permitted....

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

4 317 0
Tài liệu Advanced Linux Programming:F GNU General Public docx

Tài liệu Advanced Linux Programming:F GNU General Public docx

... want to do, use the GNU Library General Public License instead of this License. FSF & GNU inquiries & questions to gnu@ gnu.org. Comments on these web pages to webmasters@www .gnu. org, send other ... MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public L...

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

8 369 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

... main.o reciprocal.o 02 0430 CH01 5/22/01 10:19 AM Page 10 Advanced UNIX Programming with Linux I 1 Getting Started 2 Writing Good GNU /Linux Software 3 Processes 4 Threads 5 Interprocess Communication 01 ... luckily for Linux programmers, that source code is freely avail- able. Chances are, your Linux distribution includes full source code for the entire sys- tem and all progr...

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

... <unistd.h> continues 03 0430 CH02 5/22/01 10:20 AM Page 35 Writing Good GNU /Linux Software 2 THIS CHAPTER COVERS SOME BASIC TECHNIQUES THAT MOST GNU /Linux program- mers use. By following the guidelines presented, ... the 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...

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 ... exec functions, all the other threads are ended (the new program may, of course, create new threads). GNU /Linux implements the POSIX standard thread API (known as pthreads).All thread func...

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

34 400 0
Tài liệu Advanced Linux Programming: 5-Interprocess Communication pptx

Tài liệu Advanced Linux Programming: 5-Interprocess Communication pptx

... 5/22/01 10:22 AM Page 98 110 Chapter 5 Interprocess Communication 5.4 Pipes A pipe is a communication device that permits unidirectional communication. Data written to the “write end” of the ... specify three parameters: communication style, namespace, and protocol. A communication style controls how the socket treats transmitted data and specifies the number of communication part...

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

32 398 0
Tài liệu Advanced Linux Programming: 6-Mastering Linux ppt

Tài liệu Advanced Linux Programming: 6-Mastering Linux ppt

... Mastering Linux II 6 Devices 7 The /proc File System 8 Linux System Calls 9 Inline Assembly Code 10 Security 11 A Sample GNU /Linux Application 07 0430 PT02 5/22/01 10:34 AM Page 127 Devices 6 LINUX, ... on. Major device numbers are listed in the Linux kernel sources documentation. On many GNU /Linux distributions, this documentation can be found in /usr/src /linux/ Documentation/d...

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

20 371 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

... special file systems such as the /proc file system, this is none. n The second element is the mount point, the place in the root file system at which the file system contents appear. For the root file ... information about the disk drives present in the system and the file systems mounted from them. 7.5.1 File Systems The /proc/ filesystems entry displays the file...

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

20 428 0
advanced linux programming - toc

advanced linux programming - toc

... Advanced Linux Programming Contents At a Glance I Advanced UNIX Programming with Linux 1 Getting Started 3 2 Writing Good GNU /Linux Software 17 3 Processes 45 4 ... environment), 154 7.5 get-exe-path.c (program executable path), 155 7.6 open-and-spin.c (opening files), 157 7.7 print-uptime.c (system uptime and idle time), 165 8.1 check-access.c (file access permissions), ... can a...

Ngày tải lên: 26/10/2014, 20:02

24 163 0
w