This article address http://comexchan.cnblogs.com/, author Comex Chan, respect intellectual property rights, reproduced Please indicate the source, thank you!Background:The following error occurred when compiling popt.Direct VI View Configure fileVI ConfigureFind the error message:GNU GetText is required. The latest versionFind the following:Know. The system directly executes the following command to confirm whether the GetText is installed2>1grep'GNU gettext'I executed it directly. Not really.
*interfaces*# installation Wiresharksudo apt-get install wireshark# create Wireshark Group sudo groupadd wireshark# add your username to the Wireshark group sudo usermod-a -G Wireshark your_user_name# to change Dumpcap's owning group to Wiresharksudo CHGRP wireshark/usr/bin/dumpcap# alter DUMPCAP permissions, let Wireshark Group members Can execute the program sudo chmod 750/usr/bin/dumpcap# use setcap get permission sudo setcap cap_net_raw,cap_net_admin=eip/usr/bin/dumpcap# Verify Change sudo
follows:void Closelog (void);It is worth noting that although the use and invocation of this function is very simple, but is necessary, because in the Linux system, the open log is also a resource, if you only use the Openlog function to open the log, and forget to use Closelog to close the log, when the number of open logs accumulated to a certain extent , it causes insufficient memory, which can cause system problems. Therefore, remind the user to pay special attention in the use.Examples of
/****************************** Author:samson* date:12/21/2015* Test Platform:* GCC 4.8.4* GNU Bash, 4.3.30* Linux Mint Qiana* ***************************/
Pencil is a hand-drawn style prototype (interface) Drawing tool, is free software, adhere to the GPL2, can be used to draw a variety of frame composition and flowchart.
Official Download Address:
http://pencil.evolus.vn/
Installation:
sudo dpkg-i evoluspencil_2.0.5_all.deb
On the comm
Developed under Windows, accustomed to the loadstring () function to record text from the resource, so as to achieve multi-language support. But in PHP. and under Linux. Also, not everyone uses loadstring () to load text, but writes its own function, reading text from XML or even from a database.
The principle of loading the text resources is nothing more than the Key+value mode, that is, to each string is numbered, and then by number to find the corresponding value. But the problem with this
function return value
The return value type must be the same as the return type of the function
For the main function, the return value must be of type int. In most systems, the return value of the main function is a status indicator. A return value of 0 indicates that the main function completed successfully, and a non-zero return indicates an error occurred.
GNU compiler command
VI: New file, I: Edit; Esc exit edit; Wq/zz: Save an
REGEX. c gnu extracts and filters data, regex. cgnu
Today, @ SVCHAO caught up with interest .. I have picked up the regular expression interest and tried notepad ++. Basically, the syntax is not forgotten. However, if it is used in an embedded solution, it still seems a little difficult.
Mark a basic syntax first.Single Character matching
It is described in square brackets. For example, [0135678] indicates 0 1 3 5 6 7 8 can be matched through this ti
GNU glibc 'getanswer _ r () 'function infinite loop Denial of Service Vulnerability
Release date:Updated on:
Affected Systems:GNU glibc 2.xDescription:Bugtraq id: 71670
Glibc is the implementation of C libraries in most Linux operating systems.
GNU glibc has a remote denial of service vulnerability in the implementation of the 'getanswer _ r () 'function. Attackers can exploit this vulnerability to enab
The GNU Compiler family's GCC internal password-Linux general technology-Linux programming and kernel information. The following is a detailed description. GCC User Guide
Syntax:
Gcc [option | 20021312141356.htm]...
G ++ [option | 20034712141356.htm]...
Where option is the option used for gcc (which will be detailed later ),
2001000012141356.htm is the file to be processed with gcc.
Note:
This C and C ++ compiler have integrated the related programs
Inadvertently discovered such a function, you can randomly output the jokes about RMS. It's very interesting.
' Fact ' is a function from the FILE/USR/SHARE/OCTAVE/3.6.2/M/MISCELLANEOUS/FACT.M
--Command:fact
--Function File:t = fact ()
Display an amazing and random fact about the world ' s greatest
Hacker. Rather than being birthed like a normal child, Richard Stallman instead
Instantiated himself polymorphically. Shortly thereafter he grew a beard.
Richard Stallman rele
familiarize myself with the GNU Regex.h. Find that the Regex interface with Python is much like the reason for POSIX. Pit Dad's virtual machine has not been updated for a long time, tossing a while after the environment is finally testing the effect. #include #include#includeintMainintChar_c,Char**Char_v) { Char* P_str ="Url = www.google.com.hk;"; Char* P_reg ="{0,} (\\s+) {0,}= {0,} (\\s+) {0};"; regex_t reg; regmatch_t matchs[ -]; memset (Mat
GNU Radio Radar ToolboxInstall GuideChange to any folder in your home directory and enter following commands in your terminal.git clone https://github.com/kit-cel/gr-radar.gitClone this repositorycd gr-radar/mkdir buildMake Build Foldercd build/cmake ../Build makefilesmakeBuild ToolboxSome testcases use huge buffer sizes. Therefore you has to increse the maximum size of a single shared memory segment. Run following line to fix. Additionally the script
GNU Global is a more user-friendly tag system, but because it supports too few languages, it is now generally used as the front end, with the latest universal Ctags in the back end.The Compile method is as follows:1. Go to GNU Project https://www.gnu.org/software/global/download.html Download source code2. Switch to the source directory executionsh reconf.sh3../configure--with-exuberant-ctags=/usr/local/bin
In Win32 GNU Common Lisp development environment, after GNU Common Lisp is installed in Win32 environment, a shortcut is generated in the Start menu to view its attributes,The start position is blank. After the shortcut is copied to any directory for running, the running directory will be used as the current path. I create a lispworks folder on the desktop as the project directory for practice, and then use
GNU binutils is a set of binary tools. Including addr2line ar GPROF nm objcopy objdump ranlib size strings strip. This article summarizes their common methods.Ar
Ar is used to create, modify, and extract archive files ). Archive is a single file (also called a library file) that contains multiple files. Its structure ensures that the original contained files (called member in archive) can be retrieved and obtained ). Attributes such as the content, m
The C language used by kernel developers covers the ISO c99 standard and gnu c extension features. Here is a brief introduction to the gnu c extension features.
1. inline functions
The gnu c compiler supports inline functions and is also a feature of C ++. That is, the function will expand at the called location. This will increase the amount of code, occupy mo
GNU binutils is a set of binary tools. Including addr2line ar GPROF nm objcopy objdump ranlib size strings strip. This article summarizes their common methods. Ar --------------------------------------------------------------------------------
Ar is used to create, modify, and extract archive files ). Archive is a single file (also called a library file) that contains multiple files. Its structure ensures that files can be retrieved from it.
And get t
_ Attribute _ is a mechanism provided by gnu c. _ Attribute _ FUNCTION attribute, variable attribute, and type attribute can be set ).
The _ attribute _ writing feature has two underscores (_) on the front and back of __attribute _, which are followed by a pair of original arc. The corresponding _ attribute _ parameter is in the ARC.
The syntax format of _ attribute _ is:
_ Attribute _ (Attribute-list ))
Its location constraints are:
Placed
The 11th holiday was just a little fun. Today, I just calmed down and looked at the technology. I happened to encounter _ attribute __. although I have seen the Linux kernel code many times before, I still turned a blind eye to it, the following article is reproduced from the source code. The original Article is here.
A major feature of gnu c (but not known to beginners) is the _ attribute _ mechanism. _ Attribute _ FUNCTION attribute, variable attrib
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.