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
... 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, ... that discovers illegal reads. It is included in most GNU /Linux distributions, but the source code can be found at http://www.perens.com/FreeSoftware/. 15 0430 APPA 5/22/01 10:53 AM Page 265 26...
Ngày tải lên: 21/01/2014, 07:20
... Notepad, display all the text in a GNU /Linux text file on a single line because they expect a carriage return at the end of each line. Other programs for both GNU /Linux and Windows that process text ... 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 it...
Ngày tải lên: 21/01/2014, 07:20
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
Tài liệu Advanced Linux Programming: D Online Resources pptx
... TO 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, ... more 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...
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Advanced Linux Programming: E Open Publication License doc
... imply endorsement of the resulting document without the original author’s (or authors’) permission. V. Good- Practice Recommendations In addition to the requirements of this license, it is requested ... to the document. 3. Finally, although it is not mandatory under this license, it is considered good form to offer a free copy of any hard copy and CD-ROM expression of an Open Publication-...
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Advanced Linux Programming:F GNU General Public docx
... and change free software to make sure the software is free for all its users.This General Public License applies to most of the Free Software Foundation’s software and to any other program whose ... it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software,...
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Advanced Linux Programming: 1-Advanced UNIX Programming with Linux pdf
... 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 ... debug the result. If you’re already accustomed to programming under Linux, you can skip ahead to Chapter 2, “Writing Good GNU /Linux Software; ” pay careful attention to Sectio...
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Advanced Linux Programming: 3-Processes pdf
... symbolic link to another shell. For instance, on most GNU /Linux sys- tems, /bin/sh points to bash (the Bourne-Again SHell), and different GNU /Linux distributions use different versions of bash. ... some indication of the nature of the error. It’s a good idea to stick with this con- vention in your programs because other components of the GNU /Linux system assume this behavior. For ins...
Ngày tải lên: 26/01/2014, 07:20
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