亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? library_1.html

?? linux_c函數,linux下編程必備的
?? HTML
?? 第 1 頁 / 共 3 頁
字號:
<!-- This HTML file has been created by texi2html 1.27
     from library.texinfo on 3 March 1994 -->

<TITLE>The GNU C Library - Introduction</TITLE>
<P>Go to the <A HREF="library_2.html" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_2.html">next</A> section.<P>
<P>
@shorttitlepage The GNU C Library Reference Manual
The GNU C Library
<P>
Reference Manual
<P>
Sandra Loosemore
with
Roland McGrath, Andrew Oram, and Richard M. Stallman
<P>
last updated 9 April 1993
<P>
for version 1.06 Beta
Copyright (C) 1993 Free Software Foundation, Inc.
<P>
<H1><A NAME="SEC1" HREF="library_toc.html#SEC1" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_toc.html#SEC1">Introduction</A></H1>
<P>
The C language provides no built-in facilities for performing such
common operations as input/output, memory management, string
manipulation, and the like.  Instead, these facilities are defined
in a standard <DFN>library</DFN>, which you compile and link with your
programs.
<A NAME="IDX1"></A>
<P>
The GNU C library, described in this document, defines all of the
library functions that are specified by the ANSI C standard, as well as
additional features specific to POSIX and other derivatives of the Unix
operating system, and extensions specific to the GNU system.
<P>
The purpose of this manual is to tell you how to use the facilities
of the GNU library.  We have mentioned which features belong to which
standards to help you identify things that are potentially nonportable
to other systems.  But the emphasis on this manual is not on strict
portability.
<P>
<H2><A NAME="SEC2" HREF="library_toc.html#SEC2" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_toc.html#SEC2">Getting Started</A></H2>
<P>
This manual is written with the assumption that you are at least
somewhat familiar with the C programming language and basic programming
concepts.  Specifically, familiarity with ANSI standard C
(see section <A HREF="library_1.html#SEC4" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_1.html#SEC4">ANSI C</A>), rather than "traditional" pre-ANSI C dialects, is
assumed.
<P>
The GNU C library includes several <DFN>header files</DFN>, each of which
provides definitions and declarations for a group of related facilities;
this information is used by the C compiler when processing your program.
For example, the header file <TT>`stdio.h'</TT> declares facilities for
performing input and output, and the header file <TT>`string.h'</TT>
declares string processing utilities.  The organization of this manual
generally follows the same division as the header files.
<P>
If you are reading this manual for the first time, you should read all
of the introductory material and skim the remaining chapters.  There are
a <EM>lot</EM> of functions in the GNU C library and it's not realistic to
expect that you will be able to remember exactly <EM>how</EM> to use each
and every one of them.  It's more important to become generally familiar
with the kinds of facilities that the library provides, so that when you
are writing your programs you can recognize <EM>when</EM> to make use of
library functions, and <EM>where</EM> in this manual you can find more
specific information about them.
<P>
<A NAME="IDX2"></A>
<H2><A NAME="SEC3" HREF="library_toc.html#SEC3" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_toc.html#SEC3">Standards and Portability</A></H2>
<P>
This section discusses the various standards and other sources that the
GNU C library is based upon.  These sources include the ANSI C and
POSIX standards, and the System V and Berkeley Unix implementations.
<P>
The primary focus of this manual is to tell you how to make effective
use of the GNU library facilities.  But if you are concerned about
making your programs compatible with these standards, or portable to
operating systems other than GNU, this can affect how you use the
library.  This section gives you an overview of these standards, so that
you will know what they are when they are mentioned in other parts of
the manual.
<P>
See section <A HREF="library_29.html#SEC492" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_29.html#SEC492">Summary of Library Facilities</A>, for an alphabetical list of the functions and
other symbols provided by the library.  This list also states which
standards each function or symbol comes from.
<P>
<A NAME="IDX3"></A>
<H3><A NAME="SEC4" HREF="library_toc.html#SEC4" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_toc.html#SEC4">ANSI C</A></H3>
<P>
The GNU C library is compatible with the C standard adopted by the
American National Standards Institute (ANSI):
<CITE>American National Standard X3.159-1989---"ANSI C"</CITE>.
The header files and library facilities that make up the GNU library are
a superset of those specified by the ANSI C standard.<A NAME="IDX4"></A>
<P>
If you are concerned about strict adherence to the ANSI C standard, you
should use the <SAMP>`-ansi'</SAMP> option when you compile your programs with
the GNU C compiler.  This tells the compiler to define <EM>only</EM> ANSI
standard features from the library header files, unless you explicitly
ask for additional features.  See section <A HREF="library_1.html#SEC12" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_1.html#SEC12">Feature Test Macros</A>, for
information on how to do this.
<P>
Being able to restrict the library to include only ANSI C features is
important because ANSI C puts limitations on what names can be defined
by the library implementation, and the GNU extensions don't fit these
limitations.  See section <A HREF="library_1.html#SEC11" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_1.html#SEC11">Reserved Names</A>, for more information about these
restrictions.
<P>
This manual does not attempt to give you complete details on the
differences between ANSI C and older dialects.  It gives advice on how
to write programs to work portably under multiple C dialects, but does
not aim for completeness.
<P>
<A NAME="IDX5"></A>
<A NAME="IDX6"></A>
<A NAME="IDX7"></A>
<A NAME="IDX8"></A>
<A NAME="IDX9"></A>
<H3><A NAME="SEC5" HREF="library_toc.html#SEC5" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_toc.html#SEC5">POSIX (The Portable Operating System Interface)</A></H3>
<P>
The GNU library is also compatible with the IEEE <DFN>POSIX</DFN> family of
standards, known more formally as the <DFN>Portable Operating System
Interface for Computer Environments</DFN>.  POSIX is derived mostly from
various versions of the Unix operating system.
<P>
The library facilities specified by the POSIX standard are a superset of
those required by ANSI C; POSIX specifies additional features for ANSI C
functions, as well as specifying new additional functions.  In general,
the additional requirements and functionality defined by the POSIX
standard are aimed at providing lower-level support for a particular
kind of operating system environment, rather than general programming
language support which can run in many diverse operating system
environments.<P>
The GNU C library implements all of the functions specified in
<CITE>IEEE Std 1003.1-1988, the POSIX System Application Program
Interface</CITE>, commonly referred to as POSIX.1.  The primary extensions to
the ANSI C facilities specified by this standard include file system
interface primitives (see section <A HREF="library_13.html#SEC187" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_13.html#SEC187">File System Interface</A>), device-specific
terminal control functions (see section <A HREF="library_16.html#SEC268" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_16.html#SEC268">Low-Level Terminal Interface</A>), and
process control functions (see section <A HREF="library_23.html#SEC401" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_23.html#SEC401">Child Processes</A>).
<P>
Some facilities from draft 11 of <CITE>IEEE Std 1003.2, the POSIX Shell
and Utilities standard</CITE> (POSIX.2) are also implemented in the GNU
library.  These include utilities for dealing with regular expressions
and other pattern matching facilities (see section <A HREF="library_9.html#SEC91" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_9.html#SEC91">Pattern Matching</A>).
<P>
<A NAME="IDX10"></A>
<A NAME="IDX11"></A>
<A NAME="IDX12"></A>
<A NAME="IDX13"></A>
<A NAME="IDX14"></A>
<H3><A NAME="SEC6" HREF="library_toc.html#SEC6" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_toc.html#SEC6">Berkeley Unix</A></H3>
<P>
The GNU C library defines facilities from some other versions of Unix,
specifically from the 4.2 BSD and 4.3 BSD Unix systems (also known as
<DFN>Berkeley Unix</DFN>) and from <DFN>SunOS</DFN> (a popular 4.2 BSD derivative
that includes some Unix System V functionality).  
<P>
The BSD facilities include symbolic links (see section <A HREF="library_13.html#SEC196" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_13.html#SEC196">Symbolic Links</A>), the
<CODE>select</CODE> function (see section <A HREF="library_12.html#SEC180" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_12.html#SEC180">Waiting for Input or Output</A>), the BSD signal
functions (see section <A HREF="library_21.html#SEC380" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_21.html#SEC380">BSD Signal Handling</A>), and sockets (see section <A HREF="library_15.html#SEC216" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_15.html#SEC216">Sockets</A>).
<P>
<A NAME="IDX15"></A>
<A NAME="IDX16"></A>
<A NAME="IDX17"></A>
<H3><A NAME="SEC7" HREF="library_toc.html#SEC7" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_toc.html#SEC7">SVID (The System V Interface Description)</A></H3>
<P>
The <DFN>System V Interface Description</DFN> (SVID) is a document describing
the AT&#38;T Unix System V operating system.  It is to some extent a
superset of the POSIX standard (see section <A HREF="library_1.html#SEC5" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_1.html#SEC5">POSIX (The Portable Operating System Interface)</A>).
<P>
The GNU C library defines some of the facilities required by the SVID
that are not also required by the ANSI or POSIX standards, for
compatibility with  System V Unix and other Unix systems (such as
SunOS) which include these facilities.  However, many of the more
obscure and less generally useful facilities required by the SVID are
not included.  (In fact, Unix System V itself does not provide them all.)
<P>
<STRONG>Incomplete:</STRONG>  Are there any particular System V facilities that
ought to be mentioned specifically here?
<P>
<H2><A NAME="SEC8" HREF="library_toc.html#SEC8" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_toc.html#SEC8">Using the Library</A></H2>
<P>
This section describes some of the practical issues involved in using
the GNU C library.
<P>
<A NAME="IDX18"></A>
<H3><A NAME="SEC9" HREF="library_toc.html#SEC9" tppabs="http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_toc.html#SEC9">Header Files</A></H3>
<P>
Libraries for use by C programs really consist of two parts: <DFN>header
files</DFN> that define types and macros and declare variables and
functions; and the actual library or <DFN>archive</DFN> that contains the
definitions of the variables and functions.
<P>
(Recall that in C, a <DFN>declaration</DFN> merely provides information that
a function or variable exists and gives its type.  For a function
declaration, information about the types of its arguments might be
provided as well.  The purpose of declarations is to allow the compiler
to correctly process references to the declared variables and functions.
A <DFN>definition</DFN>, on the other hand, actually allocates storage for a
variable or says what a function does.)
<A NAME="IDX20"></A>
<A NAME="IDX19"></A>
<P>
In order to use the facilities in the GNU C library, you should be sure
that your program source files include the appropriate header files.
This is so that the compiler has declarations of these facilities
available and can correctly process references to them.  Once your
program has been compiled, the linker resolves these references to
the actual definitions provided in the archive file.
<P>
Header files are included into a program source file by the
<SAMP>`#include'</SAMP> preprocessor directive.  The C language supports two
forms of this directive; the first,
<P>
<PRE>
#include "<VAR>header</VAR>"
</PRE>
<P>
is typically used to include a header file <VAR>header</VAR> that you write
yourself; this would contain definitions and declarations describing the
interfaces between the different parts of your particular application.
By contrast,
<P>
<PRE>
#include &#60;file.h&#62;
</PRE>
<P>
is typically used to include a header file <TT>`file.h'</TT> that contains
definitions and declarations for a standard library.  This file would
normally be installed in a standard place by your system administrator.
You should use this second form for the C library header files.
<P>
Typically, <SAMP>`#include'</SAMP> directives are placed at the top of the C
source file, before any other code.  If you begin your source files with
some comments explaining what the code in the file does (a good idea),
put the <SAMP>`#include'</SAMP> directives immediately afterwards, following the

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人黄色综合网站| 国产盗摄一区二区| 亚洲靠逼com| 国产精品高潮呻吟久久| 国产精品初高中害羞小美女文| 久久午夜羞羞影院免费观看| 久久综合中文字幕| 国产三级精品在线| 337p日本欧洲亚洲大胆精品| 久久在线观看免费| 欧美国产日韩a欧美在线观看| 中文字幕乱码日本亚洲一区二区 | 石原莉奈在线亚洲二区| 亚洲一区二区三区四区五区黄| 亚洲一区二区三区中文字幕在线| 一区二区三区国产| 午夜欧美在线一二页| 丝袜美腿亚洲一区二区图片| 奇米影视在线99精品| 日本欧美大码aⅴ在线播放| 蜜臀国产一区二区三区在线播放 | 成人午夜激情影院| 国产不卡视频在线观看| 99久久99久久精品国产片果冻| 色婷婷综合久久久中文一区二区| 欧美日韩精品专区| 久久久欧美精品sm网站| 日韩一区在线免费观看| 三级在线观看一区二区| 国产综合色精品一区二区三区| 成人午夜激情视频| 欧美精品乱码久久久久久 | 播五月开心婷婷综合| 一本大道久久a久久综合| 欧美精品丝袜中出| 久久久电影一区二区三区| 亚洲色图在线播放| 美腿丝袜在线亚洲一区| av成人老司机| 欧美mv和日韩mv国产网站| 1024成人网| 麻豆成人综合网| 91激情五月电影| 精品国产a毛片| 午夜精品一区二区三区电影天堂| 成人免费看片app下载| 9191久久久久久久久久久| 国产日韩欧美在线一区| 日本亚洲欧美天堂免费| 色悠悠亚洲一区二区| 国产亚洲1区2区3区| 日本亚洲免费观看| 色婷婷综合久久久中文字幕| 久久久99久久精品欧美| 偷拍日韩校园综合在线| 色丁香久综合在线久综合在线观看| 欧美r级电影在线观看| 亚洲成人你懂的| 色综合av在线| 亚洲人一二三区| a美女胸又www黄视频久久| 久久久久亚洲蜜桃| 久久97超碰色| 日韩欧美国产综合一区| 亚洲aⅴ怡春院| 在线观看日韩电影| 亚洲视频香蕉人妖| 成人免费视频播放| 欧美国产欧美亚州国产日韩mv天天看完整| 男女激情视频一区| 欧美一区二区成人6969| 香蕉久久一区二区不卡无毒影院| 日本道色综合久久| 一区二区三区在线视频观看58 | 69堂成人精品免费视频| 一区二区三区资源| 国产成人激情av| 国产色婷婷亚洲99精品小说| 国产精品综合二区| 26uuuu精品一区二区| 国产精品影音先锋| 国产日韩欧美综合在线| 国产98色在线|日韩| 国产精品欧美一级免费| 成人免费不卡视频| 亚洲色图欧美激情| 欧美综合视频在线观看| 亚洲丰满少妇videoshd| 欧美日本在线一区| 开心九九激情九九欧美日韩精美视频电影| 欧美视频一区二区三区四区| 亚洲成av人片在线观看无码| 欧美年轻男男videosbes| 日本不卡免费在线视频| 精品国产乱码久久久久久图片 | 日本va欧美va精品| 日韩免费成人网| 国产福利电影一区二区三区| 国产精品嫩草影院com| 在线观看成人小视频| 日韩国产精品大片| 国产免费成人在线视频| 91国内精品野花午夜精品| 婷婷综合五月天| 久久精品一区四区| 日本久久精品电影| 麻豆成人av在线| 一色屋精品亚洲香蕉网站| 欧美日韩国产中文| 国产一区二区三区四| 亚洲情趣在线观看| 日韩女优av电影在线观看| 成人黄色av网站在线| 日韩国产精品久久久久久亚洲| 久久久精品影视| 欧美日韩精品福利| 高清日韩电视剧大全免费| 亚洲高清视频在线| 久久婷婷国产综合精品青草| 色综合天天视频在线观看| 激情综合网av| 亚洲一区二区三区爽爽爽爽爽| 久久综合九色综合97_久久久| 在线观看日韩高清av| 成人永久aaa| 喷水一区二区三区| 一区二区三区精品| 国产三级三级三级精品8ⅰ区| 欧美老女人第四色| 91视频国产资源| 国产一区二区在线影院| 日韩电影免费在线看| 亚洲视频 欧洲视频| 国产欧美日韩另类一区| 日韩一区和二区| 欧美中文字幕一区| 99riav久久精品riav| 国产精品一区二区在线播放 | 成人丝袜高跟foot| 蜜桃视频在线观看一区二区| 亚洲国产日韩综合久久精品| 亚洲欧美另类久久久精品2019| 久久久一区二区三区捆绑**| 日韩免费高清电影| 欧美久久久久免费| 91国产成人在线| 色综合天天综合给合国产| 成人小视频在线| 国产激情一区二区三区四区| 国产一区二区在线看| 久久品道一品道久久精品| 精品电影一区二区三区| 欧洲av一区二区嗯嗯嗯啊| 欧美日韩一区高清| 国产高清无密码一区二区三区| 久久久蜜臀国产一区二区| 综合网在线视频| 蜜臀av在线播放一区二区三区| 成人美女在线观看| 欧美一区午夜视频在线观看| 国产欧美精品区一区二区三区| 亚洲国产精品久久久久秋霞影院| 久久99精品一区二区三区| 色哟哟欧美精品| 欧美mv日韩mv| 亚洲韩国精品一区| 国产精品一二三四| 777午夜精品免费视频| 日韩一区在线播放| 国产在线精品国自产拍免费| 欧美日韩精品一区二区三区蜜桃| 国产欧美日韩另类视频免费观看| 午夜日韩在线观看| 91麻豆123| 国产精品网曝门| 国产在线国偷精品产拍免费yy| 欧美色视频一区| 自拍偷拍国产亚洲| 国产精品69久久久久水密桃| 制服丝袜成人动漫| 一区二区三区在线高清| 成人激情黄色小说| 国产日韩欧美电影| 精品综合免费视频观看| 884aa四虎影成人精品一区| 亚洲综合色自拍一区| jlzzjlzz国产精品久久| 久久精品亚洲国产奇米99| 麻豆视频一区二区| 欧美一区二区不卡视频| 五月婷婷激情综合| 色狠狠综合天天综合综合| 国产精品麻豆欧美日韩ww| 国产福利精品一区二区| 久久午夜国产精品| 蜜臀av性久久久久av蜜臀妖精| 91精品一区二区三区久久久久久 | 日韩成人一级片| 欧美日韩国产成人在线免费| 亚洲午夜国产一区99re久久|