Common Linux header files

Source: Internet
Author: User
<Assert. h>: ansi c. Assert (expression) <glib. h>: GCC. GTK, the basic library of gnome, provides many useful functions, such as data structure operation functions. <Dirent. h>: GCC. Folder operation function. Struct dirent, struct Dir, opendir (), closedir (), readdir (), readdir64 (), etc. <ctype. h>: ansi c. Character Test function. Isdigit (), islower (), etc. <errno. h>: ansi c. Checking the error code errno is an important way to debug the program. <Getopt. h>: process command line parameters. Getopt () ------------------------- common Linux header files: POSIX standard-defined header files <dirent. h> directory item <fcntl. h> file Control <fnmatch. h> file name matching type <glob. h> path name pattern matching type <GRP. h> group file <netdb. h> Network Database Operations <PWD. h> Password File <RegEx. h> Regular Expression <tar. h> tar archive value <termios. h> terminal I/O <unistd. h> symbolic constant <utime. h> file time <wordexp. h> character extension type ------------------------- <ARPA/inet. h> Internet definition <net/if. h> socket Local interface <netinet/in. h> Internet address family <netinet/TCP. h> definition of Transmission Control Protocol ----- -------------------- <Sys/Mman. h> memory management statement <sys/select. h> select function <sys/socket. h> socket excuse <sys/STAT. h> File status <sys/times. h> process time <sys/types. h> Basic System Data Type <sys/UN. h> Unix domain socket definition <sys/utsname. h> system name <sys/Wait. h> Process Control -------------------------------- POSIX-defined xsi extension header file <cpio. h> cpio archive value <dlfcn. h> dynamic link <fmtmsg. h> Message Display Structure <FTW. h> file tree roaming <iconv. h> code set conversion application <langinfo. h> Language Information constant <libgen. h> schema matching function definition <monetary. h> currency type <NDB M. h> database operation <nl_types.h> message Category <poll. h> round robin function <search. h> Search table <strings. h> string operation <syslog. h> System Error Log <ucontext. h> User context <ulimit. h> User restrictions <utmpx. h> User Account Database ----------------------------- <sys/IPC. h> IPC (Named Pipe) <sys/MSG. h> Message Queue <sys/resource. h> resource operation <sys/SEM. h> semaphores <sys/SHM. h> shared storage <sys/statvfs. h> File System Information <sys/time. h> time type <sys/timeb. h> additional date and time definitions <sys/uio. h> vector I/O operations ------------------------------ POSIX-defined optional Headers File <AIO. h> asynchronous I/O <mqueue. h> Message Queue <pthread. h> thread <sched. h> execute scheduling <semaphore. h> semaphores <spawn. h> real-time spawn interface <stropts. h> xsi streams interface <trace. h> event tracking <! -- [If! Supportlists] --> 3. Overview of C/C ++ header files C # include <assert. h> // set the insertion point # include <ctype. h> // Character Processing # include <errno. h> // defines the error code # include <float. h> // floating point number processing # include <iso646.h> // macros corresponding to various operators # include <limits. h> // defines the constant with the highest values of various data types # include <locale. h> // define the localized C function # include <math. h> // define mathematical functions # include <setjmp. h> // supports Exception Handling # include <signal. h> // signal Mechanism support # include <stdarg. h> // supported by the variable parameter list # include <stddef. h> // common constant # include <stdio. h> // define the input/output functions # include <stdlib. h> // define miscellaneous functions and memory allocation functions # include <string. h> // string processing # include <time. h> // define the time function # include <wchar. h> // wide character processing and input/output # include <wctype. h> // wide character classification traditional C ++ # include <fstream. h> // use <fstream> # include <iomanip. h> // use <iomainip> # include <iostream. h> // use <iostream> # include <strstrea. h> // This class is no longer supported, use stringstream in <sstream> ------------------------------ Standard C ++ # include <algorithm> // STL general algorithm # include <bitset> // STL bit set container # include <cctype>/Character handling # include <cerrno> // defining error codes # include <cfloat> // floating point processing # include <ciso646> // macros corresponding to various operators # include <climits> // define various the most valuable constant of the Data Type # include <clocale> // defines the localization function # include <cmath> // defines the mathematical function # include <complex> // plural class # include <csignal>/ /signal Mechanism support # include <csetjmp> // Exception Handling Support # include <cstdarg> // Variable Parameter List support # include <cstddef> // common constants # include <cstdio>/ /define input/output functions # include <cstdlib> // define miscellaneous functions and memory allocation functions # include <cstring> // string processing # include <ctime> // define time-related function # include <cwchar> // wide character processing and input/output # include <cwctype> // wide character classification # include <deque> // STL double-end queue container # include <exception> // exception handling class # include <fstream> // file input/output # include <functional> // STL defines operation functions (instead of operators) # include <limits> // defines the most valuable constants of various data types # include <list> // STL linear list container # include <locale> // localized specific information # include <map>/ /STL ing container # include <memory> // memory allocation by STL via distributor # include <New> // dynamic memory allocation # include <numeric> // common STL numeric operations # include <iomanip> // parameterized input/output # include <IOS> // Basic Input/Output support # include <iosfwd> // pre-declaration used by the input/output system # include <iostream> // data stream input/output # include <istream> // basic input stream # include <iterator> // STL iterator # include <ostream> // Basic output stream # include <queue> // STL queue container # include <set> // STL collection container # include <sstream> // string-based stream # include <stack> // STL stack container # include <stdexcept> // standard exception class # include <streambuf> // underlying input/output support # include <string> // string class # include <typeinfo> // type during running information # include <utility> // STL universal template class # include <valarray> // operations on arrays containing values # include <vector> // added by STL dynamic array container -------------------------------- c99 part # include <complex. h> // complex number processing # include <fenv. h> // floating point environment # include <inttypes. h> // integer format conversion # include <stdbool. h> // Boolean environment # include <stdint. h> // integer environment # include <tgmath. h> // general mathematical macros

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.