1 downloadSource code, Decompress the package to/usr/src/Linux-version.
Create a soft link ln-S/usr/src/Linux-version/usr/src/Linux
2. Install the kernel patch for download and place it in the source.CodeDirectory, go to the source code directory
Look at apue and get some perceptual knowledge. However, different implementations do not have the same semantics for some functions, resulting in some confusion during programming. The following are some confusing points.
1. The implementation of
We are tired of watching the news about Windows Vista. Let's take a look at the Chinese operating system. Beijing zhongke Hongqi Software Technology Co., Ltd. released the official red-flag Linux Desktop 5.0 version yesterday. As the first pioneer
In conclusion, the old couple said that the portrayal of modern youth is that they are arrogant, have too many objections, have too long discussions, have too late actions, and regret it too early. God teased me. Unfortunately, I entered the post-80
MD5 is required in the project.
Algorithm So I found several MD5 algorithm source code files on the Internet, and the result interfaces are different, which is a headache. Turning over the/usr/include directory in Linux, we found that md5.h is
Next, we will continue to discuss how to use pthread_cond_t to implement sem_t. Currently, the Linux kernel supports sem_t, but some old OS such as aix4 and earlier Solaris do not support semaphores. After all, semaphore is not included in the POSIX
Establish a GTK development environment in Linux (UBUNTU)
Www.firnow.com time: Author: anonymous name Edit: This site click: 2260[Comment]--
1. ConfigurationGcc
Just installed systemGCC already exists, but no GCC file can be compiled, because
Basic Linux and UNIX program development tutorial----- Reading Notes
Chapter 2 Linux/Unix Processes1. When a command runs on the foreground, it keeps controlling the keyboard.2. CTRL + z suspends a front-end process and CTRL + C terminates a
Passengers on the bus should note that there are several thieves on the next stop. You must take care of your wallet and items you carry with you.
-- A reporter from Northeast China heard a prompt from the bus conductor in Huludao. at this moment, I
Before reading the code, I have been seriously thinking about this issue. Do I need to pay attention to more than 3000 lines of code under the drivers/USB/storage/directory? Is that how many files can make different USB flash drives work in Linux?
1. automatically run the program at startup after Linux is loaded, it initializes the hardware and device drivers, and then runs the first process init. Init starts other processes based on the configuration file. Normally, the modification is
Client code
Client. cpp
# Include # include # include # include # include # include # include int main () {// create a socketint sock_fd = socket (af_inet, sock_stream, 0); // create the address struct sockaddr_in address; address.
We recommend that you use eclipse for C ++ for development ~~~ Easy to use!
As for the specific communication process, there is a lot of online information.
No explanation. The detailed explanation is included in the code comment.
Client
Linux-x.x.x from CD to kernel code directory
Then execute make mandocs
Generated in about half an hour
Run sudo make installmandocs to install
In this way, you can use man to view kernel functions.
For future convenience, you can separate the
Http://blog.csdn.net/fuyangchang/article/details/2101085
# Include ;
# Include ;
Main (){Pid_t PID;PID = fork ();
If (PID Printf ("error in fork! ");Else if (pid = 0)Printf ("I am the child process, my process ID is % d/N", getpid ());ElsePrintf ("
The INIT process is the parent process of all processes in the system. The INIT process generates sub-processes required to complete common operations, including: set the machine name, check and install the disk and file system, start the system log,
Operating System Scheduling includes
CPU scheduling CPU Scheduler
Io scheduling Io Scheduler
The overall goal of the IO scheduler is to make the head always move in one direction, and move in the opposite direction. This is precisely the
A simple Linux kernel module. Each row of information is displayed when the user loads and exits. It can be used as a program framework or as a test and load module.
# Include "Linux/init. H "# include" Linux/module. H "// module_license (" GPL
After I deleted fedora, I felt I had to go back to the Ubuntu system I used to use. Ah ......
Linux mint 12 (Lisa) is a derivative version of ubuntu 11.10. Now that you have heard about it, try it!
0 Installation
Download the [Linux mint 12
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service