Some of the header files under Linux

Source: Internet
Author: User
Tags bit set function definition mathematical functions time and date unix domain socket

Used in the project

Fcntl.h

Fcntl:file Control: File controls

Errno.h: Provides an error reporting mechanism

MALLOC.H: Dynamically allocating memory

Sys/mman.h: Memory Management statement

Linux/videodev2.h: Video Driver header file

Linnux/fb.h:frame buffer, the frame buffer for Linux. The driver layer maps the pixel data of the LCD directly to the user space, which can be plotted directly on the screen in the user program.

Other Linux header files:

The following are from: http://www.cnblogs.com/Ph-one/p/4399277.html

Aio.h Asynchronous I/O
Assert.h Validator Assertion
Complex plural class
Complex.h Complex processing
Cpio.h Cpio Archive Value
ctype.h Character types
Dirent.h directory entries, Opendir (), Closedir (), Readdir (), Readdir64 ()
Dlfcn.h Dynamic Links
Errno.h Error code
Exception exception Handling class
Fcntl.h File Control
Fenv.h Floating-point environment
Float.h floating-point constants
Fmtmsg.h Message Display structure
FNMATCH.H file name Match type
fstream.h file input/output
Ftw.h File Tree Roaming
Getopt.h processing command-line arguments, getopt ()
Glob.h path name pattern match type
Grp.h Group files
Iconv.h code set conversion using programs
Inttypes.h integer format conversion
Iomanip.h parametric input/output
iOS basic input/output support
IOSFWD Pre-declaration for input/output system use
Iostream.h data stream input/output
IStream basic input stream
Langinfo.h Language Information Constants
Libgen.h Pattern matching function definition
Limits.h defining a variety of data type MAX-values constants
Locale.h Defining localization functions
MATH.H Defining Mathematical functions
Monetary.h currency type
Mqueue.h Message Queuing
NDBM.H Database Operations
Nl_types.h Message Categories
Ostream Basic output stream
Poll.h Polling function
Pthread.h Threads
Pwd.h Password file
Regex.h Regular Expressions
Sched.h Execution Scheduling
SEARCH.H search Form
Semaphore.h Signal Volume
Signal.h Signal
Spawn.h real-time Spawn interface
Sstream string-based streams
Stdarg.h Variable Parameter table
Stdbool.h Boolean Environment
Stddef.h Standard Definition
Stdexcept Standard Exception class
Stdint.h Integral environment
Stdio.h standard I/O Library
Stdlib.h Common functions
Streambuf Bottom input/output support
String.h string manipulation
Stropts.h XSI Streams interface
Strstrea.h array-based input/output
Syslog.h System error log records
Tar.h Tar Archive value
Termios.h Terminal I/O
TGMATH.H generic type Math macro
Time.h Time and date
TRACE.H Event Tracking
Ucontext.h User Context
Ulimit.h User Restrictions
Unistd.h Symbol Constants
Utime.h file time
Utmpx.h User Account Database
Wchar.h wide character processing and input/output
Wctype.h Wide character classification
wordexp.h character Extension Type

Linux/if.h main socket header files, including Ifreq,ifconf,ifmap
Linux/if_packet.h the data structure definition of the original packet, including Sockaddr_pkt,sockaddr_ll, and if_ppp.h,if_tun.h, etc.
Linux/ip.h IPHDR data structure, as well as some IP layer data definition, the same as tcp.h,udp.h, etc.

Arpa/inet.h Internet definition
Netdb.h Hostent,gethostbyname
Net/bpf.h Berkeley Packet Filter header file
Net/ethernet.h Ether_addr,ether_header
Net/if.h Socket Local Interface
Netinet/ether.h Ethernet byte and ASCII byte conversion, including Ether_ntoa (), Ether_aton function definition
Data structure of Netinet/if_ether.h Ether_arp
Netinet/in.h IP, Structure Sockaddr_in,ntoh,hton
Netinet/ip.h IPHDR data structure, but also includes the timestamp structure
NETINET/TCP.H Transmission Control Protocol Definition

Sys/ipc.h IPC
Sys/mman.h Memory Management Statement
Sys/msg.h Message Queuing
Sys/select.h Select function
Sys/sem.h Signal Volume
Sys/shm.h shared storage
Sys/socket.h Socket Excuses
Sys/stat.h file Status
Sys/statvfs.h File System Information
Sys/time.h Time Type
Sys/timeb.h additional date and time definitions
Sys/times.h Process Time
Sys/types.h Original System data type
Sys/uio.h vector I/O operations
Sys/un.h UNIX domain Socket definition
Sys/utsname.h system Name
Sys/wait.h Process Control

Algorithm STL General algorithm
Bitset STL bit Set container
Deque STL Double-ended queue container
Functional STL definition Operation function (substitution operator)
List STL Linear list container
Map STL Map Container
Queue STL Queues Container
Set STL Collection Container
Stack STL Stacks Container
Utility STL Generic template class
Vector STL Dynamic Array container

Some of the header files under Linux

Related Article

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.