Windows and Linux standard C language header files

Source: Internet
Author: User
Tags mathematical functions posix

C language-compliant header file
#include <assert.h>//Set insertion point
#include <ctype.h>//character processing
#include <errno.h>//define error codes
#include <float.h>//floating-point processing
#include <fstream.h>//File input/output
#include <iomanip.h>/Parametric input/output
#include <iostream.h>//data stream input/output
#include <limits.h>//define a variety of data type MAX-values constants
#include <locale.h>//define localization functions
#include <math.h>//defining mathematical functions
#include <stdio.h>//define input/output functions
#include <stdlib.h>//define miscellaneous functions and memory allocation functions
#include <string.h>//String processing
#include <strstrea.h>//array-based input/output
#include <time.h>//define functions for TIME
#include <wchar.h>//wide character processing and input/output
#include <wctype.h>//Wide character categories
3.linux Common header files are as follows:
POSIX standard-Defined header file
<dirent.h> Catalog Items
<fcntl.h> File Control
<fnmatch.h> file name Match type
<glob.h> path name pattern match type
<grp.h> Group files
<netdb.h> Network Database Operations
<pwd.h> Password file
<regex.h> Regular Expressions
<tar.h> Tar archive values
<termios.h> Terminal I/O
<unistd.h> Symbolic constants
<utime.h> file time
<wordexp.h> character Extension types
-------------------------
<arpa/inet.h> Internet definition
<net/if.h> Socket Local Interface
<netinet/in.h> Internet Address Family
<netinet/tcp.h> Transmission Control Protocol Definition
-------------------------
<sys/mman.h> Memory Management Statement
<sys/select.h> Select function
<sys/socket.h> Socket Excuses
<sys/stat.h> file Status
<sys/times.h> Process Time
<sys/types.h> Basic System data types
<sys/un.h> UNIX domain sockets definition
<sys/utsname.h> system Name
<sys/wait.h> Process Control
------------------------------
POSIX-defined xsi extension header file
<cpio.h> Cpio Archive values
<dlfcn.h> Dynamic Links
<fmtmsg.h> Message Display structure
<ftw.h> File Tree Roaming
<iconv.h> code set conversion using programs
<langinfo.h> language information constant pattern matching function definition
<monetary.h> Currency Types
<ndbm.h> Database Operations
<nl_types.h> Message Categories
<poll.h> Polling functions
<search.h> search Form
<strings.h> string manipulation
<syslog.h> System error log records
<ucontext.h> User Context
<ulimit.h> User Restrictions
<utmpx.h> User Account Database
-----------------------------
<sys/ipc.h> IPC (Named pipes)
<sys/msg.h> Message Queuing
<sys/resource.h> Resource Operations
<sys/sem.h> Signal Volume
<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 header file
<aio.h> Asynchronous I/O
<mqueue.h> Message Queuing
<pthread.h> Threads
<sched.h> Execution Scheduling
<semaphore.h> Signal Volume
<spawn.h> real-time Spawn interface
<stropts.h> XSI Streams interface
<trace.h> Event Tracking

Windows and Linux standard C language header files

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.