Advanced Linux Programming

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

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

... about how GNU /Linux locates man pages, consult the man page for the command itself by invoking this: % man man man 13 0430 CH11 5/22/01 10:46 AM Page 256 256 Chapter 11 A Sample GNU /Linux Application ... and are not declared in server.h 13 0430 CH11 5/22/01 10:46 AM Page 222 222 Chapter 11 A Sample GNU /Linux Application Listing 11.1 (server.h) Function and Variable Declarations...
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

... with several tools to get the best error checking 15 0430 APPA 5/22/01 10:53 AM Page 262 262 Appendix A Other Development Tools Table A.1 Capabilities of Dynamic Memory-Checking Tools (X Indicates ... 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 266 266 Appendix A Other Development To...
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

... APPB 5/22/01 10:58 AM Page 282 282 Appendix B Low-Level I/O Throughout this book, we assume that you’re familiar with the calls described in this appendix.You may already be familiar with them because ... will 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 th...
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

... APPC 5/22/01 10:59 AM Page 302 302 Appendix C Table of Signals Table C. 1 Continued Name SIGINT Description Linux sends a process this signal when the user tries to end it by pressing Ctrl +C SIGILL ... 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: Reso...
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

... 18 0430 APPD 5/22/01 3:18 PM Page 304 304 Appendix D Online Resources D. 2 n n n n n is the home of the GNU Project From this site, you can download a staggering array of sophisticated free software ... GNU /Linux systems, and it includes compilers for C, C++, Objective C, Java, Chill, and Fortran http://www.gnome.org and http://www.kde.org are the homes of the two most popular GNU /L...
Ngày tải lên : 21/01/2014, 07:20
  • 2
  • 337
  • 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

... language to the reference to or copy of the license. These options are considered part of the license instance and must be included with the license (or its incorporation by reference) in derived ... more restrictive than the Open Publication license If you have questions about the Open Publication License, please contact David Wiley, or the Open Publication Authors’ List...
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

... 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 questions to gnu@ gnu.org ... 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 Li...
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

... reciprocal.cpp with optimization turned on: % g++ -c -O2 reciprocal.cpp Note that compiling with optimization can make your program more difficult to debug with a debugger (see Section 1.4, “Debugging with ... have specified the library with 02 0430 CH01 5/22/01 10:19 AM Page 1.3 Automating the Process with GNU Make the -l option In Linux, library names almost always start with...
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

... following from a shell prompt on most GNU /Linux systems: % info “(standards)User Interfaces” 19 03 0430 CH02 20 5/22/01 Chapter 10:20 AM Page 20 Writing Good GNU /Linux Software 2.1.3 Using getopt_long ... Interaction With the Execution Environment %s\n”, argv[i]); } return 0; } 2.1.2 GNU /Linux Command-Line Conventions Almost all GNU /Linux programs obey some conventions about how c...
Ngày tải lên : 21/01/2014, 07:20
  • 28
  • 362
  • 1
Tài liệu Advanced Linux Programming: 3-Processes pdf

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

... IDs Each process in a Linux system is identified by its unique process ID, sometimes referred to as pid Process IDs are 16-bit numbers that are assigned sequentially by Linux as new processes ... symbolic link to another shell For instance, on most GNU /Linux systems, /bin/sh points to bash (the Bourne-Again SHell), and different GNU /Linux distributions use different versions of bash I...
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

... 4.5 GNU /Linux Thread Implementation The implementation of POSIX threads on GNU /Linux differs from the thread implementation on many other UNIX-like systems in an important way: on GNU /Linux, threads ... 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...
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

... CH05 5/22/01 10:23 AM Page 110 110 Chapter 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 pa...
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

... 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/devices.txt.The special ... drivers running in the Linux kernel, and through them to hardware devices connected to the system Use these techniques with care because misuse can cause impair or damage the GNU /Linux s...
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

... The /proc file system also contains 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 ... special file systems such as the /proc file system, this is none The second element is the mount point, the place in the root file system at which the file sys...
Ngày tải lên : 26/01/2014, 07:20
  • 20
  • 428
  • 0
Tài liệu Advanced Linux Programming: 8-Linux System Calls doc

Tài liệu Advanced Linux Programming: 8-Linux System Calls doc

... Chapter Linux System Calls The set of Linux system calls forms the most basic interface between programs and the Linux kernel Each call presents a basic operation or capability Some system calls ... influence on the system For instance, some system calls enable you to shut down the Linux system or to allocate system resources and prevent other users from accessin...
Ngày tải lên : 26/01/2014, 07:20
  • 22
  • 376
  • 0

Xem thêm

Từ khóa: