From: Shanghai Shangguan embedded training http://www.uplooking.sh.cn/embedded_training/tecnews/ARM/2013/0226/2210.html
When processing real-time collected and updated data, the data update speed does not match the data processing speed. In this
1. Main Function Parameters
Void main (INT argc, char * argv [])HypothesisProgramCompile to CPPEnter./CPP A B
There are three strings in this line"./CPP"" A "" B"Argc is 3, that is, the number of parameters in the command line.Char * argv [] is an
Flowers are sad memories.
A long time ago, the edge of the city was filled with a large film of manzhusha. Its floral fragrance had a magic power to remind people of their past lives. The guardian of manzhu shanhua is two fairy spirits, one is
The getch () function source code found on the internet is as follows:
#include #include #include int getch(void) {struct termios tm, tm_old;int fd = STDIN_FILENO, c;if(tcgetattr(fd, &tm)
After testing, the direction keys cannot be used normally
Host platform: Gentoo Linux 11.2 with Linux kernel 3.0.6
Hardware Platform: fl2440 (S3C2440) with Linux kernel 2.6.35
Original works, reprinted please indicate the source http://blog.csdn.net/yming0221/article/details/7211396
1. First download dnw
Http://cache.baidu.com/C? WORD = Linux % 3B % c4 % da % Ba % CB % 2C % D5 % D0 % C6 % B8 & url = http % 3A // blog % 2 ecsdn % 2 enet/shorminhsu /archive/2007/08/30/1766160% 2 easpx & P = 867cc64ad6c91bfb49b9c4710c17bb & User = Baidu
This is from a
The original socket programming of sock_raw can receive data frames or data packets on the local Nic, which is very useful for the traffic and Analysis of the listener network. there are three ways to create this socket. socket (af_inet, sock_raw,
Basic commands for Linux System Management
1. Finger: Query user information and view the default user environment.2. FTP: the user interface of the standard file transfer protocol, which is the simplest and most effective method for transferring
Embedded systems are dedicated computer systems that focus on applications and are based on computer technology and can be tailored to the functional, reliability, cost, volume, and power consumption requirements of application systems. It has been
View and import environment variables:
Env
View All environment variables
Export
Import variables at runtime. After the system starts up next time, these variables no longer exist.
Set
A set without parameters can display all environment
Method 1: mount a file in Linux
The software disks downloaded from the Internet are in ISO format and can be read without being engraved into a CD. You do not need to decompress the package.
Run the Mount-o loop/mnt/*/1.iso/mnt/CDROM
Linux time server
In the RedHat Linux as 3.0 operating system, we can use NTP (Network Time Protocol) to build a local LAN time server.
The ASP platform contains more than 40 servers, including RedHat Linux as 3.0, Microsoft Windows 2000 Server,
Source: http://www.eifr.com/article.php? Id = 1766 & page = 2
In Linux, dlopen, dlsym, and dlclose are equivalent to loadlibrary, getprocaddress, and freelibrary on windows. They can dynamically load dynamic libraries at runtime and use the export
Dynamic library generation and use in Linux
I. Basic concepts of dynamic libraries
1. The dynamic link library is the library loaded when the program runs. After the dynamic link library is correctly installed, all programs can use the dynamic
Client:
# Include # include # include # include # include # include # include # include # include # include # include # define maxbuf 1024 void showcerts (SSL * SSL) {X509 * Cert; char * line; Cert = ssl_get_peer_certificate (SSL); If
Relationship between applications and library functions, kernels, and drivers
Applications, libraries, kernels, and drivers: the application calls the application function library to complete the function, the application accesses various resources
/Etc/profile: This file sets the environment information for each user in the system. When the user logs on for the first time, this file is executed.And collect shell settings from the configuration file in the/etc/profile. d directory./Etc/bashrc:
Note: The installation path of arm-Linux-GDB is/usr/local/ARM/3.4.1.1. Compile and install arm-Linux-GDBDownload gdb-6.8.tar.bz2 to the working directoryGDB source code download: http://ftp.gnu.org/gnu/gdb/The command is as follows:$ Tar-jxvf gdb-6.8
Two common errors:1. The following problems occur during module insertion:
# Insmod globalmem. Ko insmod: Error inserting 'globalmem. ko':-1 device or resource busy
Answer: The master device number is in use. Change the macro definition in the
In Windows, compile and use the curl static library, and I will not talk about it. It's very simple ......
After compiling in Linux, The libcurl. A file is generated,
However, there will be many Link errors when the libcurl. A file is statically
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