第1章概述1
1.1C語言簡介1
1.2TurboC2.0簡介1
1.2.1概述1
1.2.2TurboC2.0基本配置要求1
1.2.3TurboC2.0集成開發(fā)環(huán)境的使用1
1.3GCC簡介3
1.4C語法簡介4
1.4.1數(shù)據(jù)類型4
1.4.2常量與變量4
1.4.3運(yùn)算符和表達(dá)式5
1.4.4語句6
1.4.5數(shù)組11
1.4.6指針12
1.4.7函數(shù)12
1.4.8結(jié)構(gòu)體與共用體13
1.5如何使用本書14
第2章數(shù)學(xué)函數(shù)16
2.1常用代數(shù)函數(shù)16
2.1.1ceil函數(shù)16
2.1.2div函數(shù)16
2.1.3floor函數(shù)17
2.1.4fmod函數(shù)17
2.1.5ldiv函數(shù)18
2.1.6max函數(shù)18
2.1.7min函數(shù)18
2.1.8poly函數(shù)19
2.1.9sqrt函數(shù)19
2.2絕對(duì)值函數(shù)20
2.2.1abs函數(shù)20
2.2.2cabs函數(shù)20
2.2.3fabs函數(shù)21
2.2.4labs函數(shù)21
2.3指數(shù)與對(duì)數(shù)運(yùn)算函數(shù)21
2.3.1exp函數(shù)21
2.3.2ldexp,ldexpl函數(shù)22
2.3.3log,logl函數(shù)22
2.3.4log10,log10l函數(shù)23
2.3.5pow函數(shù)23
2.3.6pow10函數(shù)24
2.4三角函數(shù)24
2.4.1acos,acosl函數(shù)24
2.4.2asin,asinl函數(shù)24
2.4.3atan函數(shù)25
2.4.4atan2,atan2l函數(shù)25
2.4.5cos函數(shù)26
2.4.6cosh函數(shù)26
2.4.7hypot函數(shù)26
2.4.8sin函數(shù)27
2.4.9sinh函數(shù)27
2.4.10tan,tanl函數(shù)28
2.4.11tanh,tanhl函數(shù)28
2.5浮點(diǎn)數(shù)函數(shù)28
2.5.1_clear87函數(shù)28
2.5.2_status87函數(shù)29
2.5.3frexp函數(shù)29
2.5.4modf,modfl函數(shù)30
2.6隨機(jī)數(shù)函數(shù)30
2.6.1drand48函數(shù)30
2.6.2erand48函數(shù)31
2.6.3jrand48函數(shù)31
2.6.4lcong48函數(shù)32
2.6.5lrand48函數(shù)32
2.6.6mrand48函數(shù)33
2.6.7nrand48函數(shù)33
2.6.8rand函數(shù)34
2.6.9random函數(shù)34
2.6.10randomize函數(shù)34
2.6.11seed48函數(shù)35
2.6.12srand函數(shù)35
2.6.13srand48函數(shù)36
2.6.14srandom函數(shù)36
第3章字符串函數(shù)38
3.1字符串操作函數(shù)38
3.1.1stpcpy函數(shù)38
3.1.2strcat函數(shù)38
3.1.3strchr函數(shù)39
3.1.4strcmp函數(shù)39
3.1.5strcmpi函數(shù)40
3.1.6strcpy函數(shù)41
3.1.7strcspn函數(shù)41
3.1.8strdup函數(shù)42
3.1.9stricmp函數(shù)42
3.1.10strlen函數(shù)43
3.1.11strncat函數(shù)43
3.1.12strncmp函數(shù)44
3.1.13strncmpi函數(shù)44
3.1.14strncpy函數(shù)45
3.1.15strnicmp函數(shù)45
3.1.16strnset函數(shù)46
3.1.17strpbrk函數(shù)46
3.1.18strrchr函數(shù)47
3.1.19strrev函數(shù)48
3.1.20strset函數(shù)48
3.1.21strspn函數(shù)48
3.1.22strstr函數(shù)49
3.1.23strtok函數(shù)49
3.1.24swab函數(shù)50
3.1.25ungetc函數(shù)50
3.1.26ungetch函數(shù)51
3.2類型判別函數(shù)52
3.2.1isalnum函數(shù)52
3.2.2isalpha函數(shù)52
3.2.3isascii函數(shù)53
3.2.4iscntrl函數(shù)53
3.2.5isdigit函數(shù)54
3.2.6isgraph函數(shù)54
3.2.7islower函數(shù)55
3.2.8isprint函數(shù)56
3.2.9ispunct函數(shù)56
3.2.10isspace函數(shù)57
3.2.11isupper函數(shù)57
3.2.12isxdigit函數(shù)58
3.3類型轉(zhuǎn)換函數(shù)59
3.3.1atof函數(shù)59
3.3.2atoi函數(shù)59
3.3.3atol函數(shù)59
3.3.4ecvt函數(shù)60
3.3.5fcvt函數(shù)60
3.3.6gcvt函數(shù)61
3.3.7itoa函數(shù)62
3.3.8ltoa函數(shù)62
3.3.9mbstowcs函數(shù)63
3.3.10mbtowc函數(shù)63
3.3.11strlwr函數(shù)64
3.3.12strtod函數(shù)65
3.3.13strtol函數(shù)65
3.3.14strtoul函數(shù)66
3.3.15strupr函數(shù)66
3.3.16toascii函數(shù)67
3.3.17tolower函數(shù)67
3.3.18toupper函數(shù)68
3.3.19ultoa函數(shù)68
3.3.20wcstombs函數(shù)69
3.3.21wctomb函數(shù)69
第4章輸入/輸出函數(shù)71
4.1初級(jí)輸入/輸出函數(shù)71
4.1.1_creat,creat函數(shù)71
4.1.2close函數(shù)72
4.1.3dup函數(shù)73
4.1.4dup2函數(shù)73
4.1.5flock函數(shù)74
4.1.6fsync函數(shù)75
4.1.7eof函數(shù)76
4.1.8lseek函數(shù)77
4.1.9mktemp函數(shù)78
4.1.10open函數(shù)78
4.1.11read函數(shù)79
4.1.12setmode函數(shù)80
4.1.13sopen函數(shù)81
4.1.14sync函數(shù)82
4.1.15tell函數(shù)83
4.1.16write函數(shù)84
4.2標(biāo)準(zhǔn)輸入/輸出函數(shù)85
4.2.1fclose函數(shù)85
4.2.2fcloseall函數(shù)86
4.2.3fdopen函數(shù)86
4.2.4feof函數(shù)87
4.2.5fflush函數(shù)88
4.2.6fgetc函數(shù)89
4.2.7fgetchar函數(shù)89
4.2.8fgetpos函數(shù)90
4.2.9fgets函數(shù)91
4.2.10fileno函數(shù)91
4.2.11flushall函數(shù)92
4.2.12fopen函數(shù)93
4.2.13fputc函數(shù)94
4.2.14fputchar函數(shù)94
4.2.15fread函數(shù)95
4.2.16fseek函數(shù)96
4.2.17fwrite函數(shù)96
4.2.18getc函數(shù)97
4.2.19getchar函數(shù)98
4.2.20gets函數(shù)98
4.2.21getw函數(shù)99
4.2.22putc函數(shù)99
4.2.23putch函數(shù)100
4.2.24putchar函數(shù)100
4.2.25puts函數(shù)101
4.2.26putw函數(shù)101
4.2.27rewind函數(shù)102
4.2.28setbuf函數(shù)103
4.2.29setvbuf函數(shù)103
4.2.30tmpfile函數(shù)104
4.3格式化輸入/輸出函數(shù)105
4.3.1cprintf函數(shù)107
4.3.2cscanf函數(shù)107
4.3.3fprintf函數(shù)108
4.3.4fscanf函數(shù)109
4.3.5fsetpos函數(shù)110
4.3.6fstat函數(shù)111
4.3.7ftell函數(shù)112
4.3.8printf函數(shù)113
4.3.9scanf函數(shù)113
4.3.10sprintf函數(shù)114
4.3.11sscanf函數(shù)115
4.3.12vfprintf函數(shù)116
4.3.13vfscanf函數(shù)117
4.3.14vprintf函數(shù)118
4.3.15vscanf函數(shù)119
4.3.16vsprintf函數(shù)120
4.3.17vsscanf函數(shù)120
4.4鍵盤專用函數(shù)121
4.4.1cgets函數(shù)121
4.4.2getch函數(shù)122
4.4.3getche函數(shù)122
4.4.4getpass函數(shù)123
4.4.5kbhit函數(shù)123
4.4.6ungetch函數(shù)124
4.5屏幕專用函數(shù)125
4.5.1_setcursortype函數(shù)125
4.5.2clreol函數(shù)125
4.5.3clrscr函數(shù)126
4.5.4cputs函數(shù)126
4.5.5delline函數(shù)127
4.5.6gettext函數(shù)128
4.5.7gettextinfo函數(shù)129
4.5.8gotoxy函數(shù)130
4.5.9highvideo函數(shù)131
4.5.10insline函數(shù)131
4.5.11lowvideo函數(shù)132
4.5.12movetext函數(shù)132
4.5.13normvideo函數(shù)133
4.5.14putch函數(shù)134
4.5.15puttext函數(shù)134
4.5.16textattr函數(shù)135
4.5.17textbackground函數(shù)136
4.5.18textcolor函數(shù)136
4.5.19textmode函數(shù)137
4.5.20wherex,wherey函數(shù)138
4.5.21window函數(shù)138
4.6端口輸入/輸出函數(shù)139
4.6.1inp函數(shù)139
4.6.2inport函數(shù)139
4.6.3inportb函數(shù)140
4.6.4inpw函數(shù)140
4.6.5outp函數(shù)141
4.6.6outport函數(shù)141
4.6.7outportb函數(shù)142
4.6.8outpw函數(shù)142
第5章內(nèi)存相關(guān)函數(shù)143
5.1內(nèi)存管理函數(shù)143
5.1.1alloca函數(shù)143
5.1.2allocmem函數(shù)143
5.1.3brk函數(shù)144
5.1.4calloc函數(shù)144
5.1.5coreleft函數(shù)145
5.1.6farcalloc函數(shù)145
5.1.7farcoreleft函數(shù)146
5.1.8farfree函數(shù)146
5.1.9farmalloc函數(shù)147
5.1.10farrealloc函數(shù)147
5.1.11free函數(shù)148
5.1.12freemem函數(shù)148
5.1.13getpagesize函數(shù)149
5.1.14malloc函數(shù)149
5.1.15mmap函數(shù)150
5.1.16munmap函數(shù)151
5.1.17realloc函數(shù)151
5.1.18sbrk函數(shù)152
5.1.19setblock函數(shù)152
5.2內(nèi)存操作函數(shù)153
5.2.1farheapcheck函數(shù)153
5.2.2farheapcheckfree函數(shù)153
5.2.3farheapchecknode函數(shù)154
5.2.4farheapfillfree函數(shù)155
5.2.5farheapwalk函數(shù)156
5.2.6FP_OFF函數(shù)157
5.2.7FP_SEG函數(shù)157
5.2.8heapcheck函數(shù)157
5.2.9heapcheckfree函數(shù)158
5.2.10heapchecknode函數(shù)159
5.2.11heapfillfree函數(shù)160
5.2.12heapwalk函數(shù)161
5.2.13memccpy函數(shù)161
5.2.14memchr函數(shù)162
5.2.15memcmp函數(shù)162
5.2.16memcpy函數(shù)163
5.2.17memicmp函數(shù)164
5.2.18memmove函數(shù)164
5.2.19memset函數(shù)165
5.2.20MK_FP函數(shù)165
5.2.21movedata函數(shù)166
5.2.22movmem函數(shù)166
5.2.23peek,peekb函數(shù)167
5.2.24poke,pokeb函數(shù)167
5.2.25setmem函數(shù)168
5.2.26swab函數(shù)168
第6章磁盤.目錄和文件函數(shù)170
6.1磁盤函數(shù)170
6.1.1absread函數(shù)170
6.1.2abswrite函數(shù)170
6.1.3getdta函數(shù)171
6.1.4setdta函數(shù)171
6.2目錄函數(shù)172
6.2.1_dos_findfirst函數(shù)172
6.2.2_dos_findnext函數(shù)173
6.2.3_makepath函數(shù)174
6.2.4_splitpath函數(shù)175
6.2.5chdir函數(shù)175
6.2.6chroot函數(shù)176
6.2.7closedir函數(shù)176
6.2.8fchdir函數(shù)177
6.2.9findfirst函數(shù)178
6.2.10findnext函數(shù)179
6.2.11fnmerge函數(shù)179
6.2.12fnsplit函數(shù)180
6.2.13ftw函數(shù)181
6.2.14get_current_dir_name函數(shù)181
6.2.15getcurdir函數(shù)182
6.2.16getcwd函數(shù)182
6.2.17getdisk函數(shù)183
6.2.18getwd函數(shù)183
6.2.19mkdir函數(shù)184
6.2.20mktemp函數(shù)184
6.2.21nftw函數(shù)185
6.2.22opendir函數(shù)185
6.2.23readdir函數(shù)186
6.2.24rewinddir函數(shù)187
6.2.25rmdir函數(shù)187
6.2.26scandir函數(shù)188
6.2.27searchpath函數(shù)189
6.2.28seekdir函數(shù)189
6.2.29setdisk函數(shù)190
6.2.30telldir函數(shù)190
6.2.31unlink函數(shù)191
6.2.32unlock函數(shù)192
6.3文件函數(shù)192
6.3.1access函數(shù)192
6.3.2chmod函數(shù)193
6.3.3chown函數(shù)194
6.3.4chsize函數(shù)194
6.3.5creatnew函數(shù)195
6.3.6creattemp函數(shù)196
6.3.7fchmod函數(shù)196
6.3.8filelength函數(shù)197
6.3.9fstat函數(shù)197
6.3.10ftruncate函數(shù)198
6.3.11getftime函數(shù)199
6.3.12lchown函數(shù)200
6.3.13link函數(shù)201
6.3.14lock函數(shù)202
6.3.15locking函數(shù)202
6.3.16lstat函數(shù)203
6.3.17readlink函數(shù)204
6.3.18remove函數(shù)205
6.3.19rename函數(shù)205
6.3.20stat函數(shù)206
6.3.21symlink函數(shù)207
6.3.22tempnam函數(shù)207
6.3.23tmpnam函數(shù)208
6.3.24umask函數(shù)208
6.3.25unlink函數(shù)209
6.3.26utime函數(shù)210
6.3.27utimes函數(shù)210
第7章圖形函數(shù)212
7.1設(shè)備設(shè)置函數(shù)212
7.1.1_graphfreemem函數(shù)212
7.1.2_graphgetmem函數(shù)213
7.1.3cleardevice函數(shù)214
7.1.4clearviewport函數(shù)214
7.1.5closegraph函數(shù)215
7.1.6detectgraph函數(shù)215
7.1.7getaspectratio函數(shù)216
7.1.8getdefaultpalette函數(shù)217
7.1.9getdrivername函數(shù)217
7.1.10getfillpattern函數(shù)218
7.1.11getgraphmode函數(shù)219
7.1.12getmodename函數(shù)219
7.1.13getmoderange函數(shù)220
7.1.14getpalette函數(shù)220
7.1.15getviewsettings函數(shù)221
7.1.16graphdefaults函數(shù)222
7.1.17grapherrormsg函數(shù)223
7.1.18graphresult函數(shù)223
7.1.19initgraph函數(shù)224
7.1.20installuserdriver函數(shù)225
7.1.21installuserfont函數(shù)226
7.1.22registerbgidriver函數(shù)227
7.1.23restorecrtmode函數(shù)228
7.1.24setactivepage函數(shù)228
7.1.25setallpalette函數(shù)229
7.1.26setaspectratio函數(shù)230
7.1.27setfillpattern函數(shù)231
7.1.28setgraphbufsize函數(shù)232
7.1.29setgraphmode函數(shù)232
7.1.30setpalette函數(shù)233
7.1.31setrgbpalette函數(shù)234
7.1.32setviewport函數(shù)235
7.1.33setvisualpage函數(shù)235
7.2屬性配置函數(shù)236
7.2.1getbkcolor函數(shù)236
7.2.2getcolor函數(shù)236
7.2.3getfillsettings函數(shù)237
7.2.4getlinesettings函數(shù)238
7.2.5getmaxcolor函數(shù)239
7.2.6setbkcolor函數(shù)239
7.2.7setcolor函數(shù)240
7.2.8setfillstyle函數(shù)240
7.2.9setlinestyle函數(shù)241
7.2.10setwritemode函數(shù)241
7.3圖形顯示函數(shù)242
7.3.1arc函數(shù)242
7.3.2bar函數(shù)243
7.3.3bar3d函數(shù)243
7.3.4circle函數(shù)244
7.3.5drawpoly函數(shù)244
7.3.6ellipse函數(shù)245
7.3.7fillellipse函數(shù)245
7.3.8fillpoly函數(shù)246
7.3.9floodfill函數(shù)246
7.3.10getarccoords函數(shù)247
7.3.11getimage函數(shù)248
7.3.12getmaxx函數(shù)248
7.3.13getmaxy函數(shù)249
7.3.14getpixel函數(shù)249
7.3.15gettextsettings函數(shù)250
7.3.16getx函數(shù)251
7.3.17gety函數(shù)251
7.3.18imagesize函數(shù)252
7.3.19line函數(shù)252
7.3.20linerel函數(shù)253
7.3.21lineto函數(shù)253
7.3.22moverel函數(shù)254
7.3.23moveto函數(shù)254
7.3.24outtext函數(shù)255
7.3.25outttextxy函數(shù)255
7.3.26pieslice函數(shù)256
7.3.27putimage函數(shù)256
7.3.28putpixel函數(shù)257
7.3.29rectangle函數(shù)258
7.3.30sector函數(shù)258
7.3.31settextjustify函數(shù)259
7.3.32settextstyle函數(shù)259
7.3.33setusercharsize函數(shù)260
第8章系統(tǒng)調(diào)用函數(shù)262
8.1BIOS調(diào)用函數(shù)262
8.1.1_bios_disk函數(shù)262
8.1.2_bios_equiplist函數(shù)263
8.1.3_bios_keybrd函數(shù)263
8.1.4_bios_memsize函數(shù)264
8.1.5_bios_printer函數(shù)265
8.1.6_bios_serialcom函數(shù)265
8.1.7_bios_timeofday函數(shù)267
8.1.8bioscom函數(shù)267
8.1.9biosdisk函數(shù)269
8.1.10biosequip函數(shù)270
8.1.11bioskey函數(shù)270
8.1.12biosmemory函數(shù)271
8.1.13biosprint函數(shù)272
8.1.14biostime函數(shù)272
8.2DOS調(diào)用函數(shù)273
8.2.1bdos函數(shù)273
8.2.2bdosptr函數(shù)274
8.2.3ctrlbrk函數(shù)274
8.2.4disable函數(shù)275
8.2.5enable函數(shù)275
8.2.6geninterrupt函數(shù)276
8.2.7getcbrk函數(shù)276
8.2.8getdate函數(shù)277
8.2.9getdfree函數(shù)277
8.2.10getfat函數(shù)278
8.2.11getfatd函數(shù)279
8.2.12getpsp函數(shù)279
8.2.13gettime函數(shù)280
8.2.14getvect函數(shù)280
8.2.15getverify函數(shù)281
8.2.16int86函數(shù)281
8.2.17int86x函數(shù)282
8.2.18intdos函數(shù)283
8.2.19intdosx函數(shù)284
8.2.20intr函數(shù)285
8.2.21ioctl函數(shù)285
8.2.22isatty函數(shù)286
8.2.23keep函數(shù)287
8.2.24segread函數(shù)287
8.2.25setcbrk函數(shù)288
8.2.26setvect函數(shù)288
8.2.27setverify函數(shù)289
8.2.28sound,nosound,delay函數(shù)289
8.3程序控制函數(shù)290
8.3.1_c_exit函數(shù)290
8.3.2_exit函數(shù)291
8.3.3abort函數(shù)291
8.3.4assert函數(shù)292
8.3.5atexit函數(shù)292
8.3.6execl,execle,execlp,execlpe函數(shù)293
8.3.7execv,execve,execvp,execvpe函數(shù)293
8.3.8exit函數(shù)294
8.3.9getpid函數(shù)295
8.3.10longjmp函數(shù)295
8.3.11raise函數(shù)296
8.3.12setjmp函數(shù)297
8.3.13signal函數(shù)298
8.3.14sleep函數(shù)298
8.3.15spawnl,spawnle,spawnlp,spawnlpe函數(shù)299
8.3.16spawnv,spawnve,spawnvp,spawnlve函數(shù)300
8.3.17system函數(shù)301
8.4環(huán)境變量函數(shù)302
8.4.1getenv函數(shù)302
8.4.2putenv函數(shù)302
第9章其他函數(shù)303
9.1日期/時(shí)間函數(shù)303
9.1.1asctime函數(shù)303
9.1.2clock函數(shù)303
9.1.3ctime函數(shù)304
9.1.4difftime函數(shù)304
9.1.5dostounix函數(shù)305
9.1.6localtime函數(shù)306
9.1.7mktime函數(shù)306
9.1.8setdate函數(shù)307
9.1.9settime函數(shù)308
9.1.10stime函數(shù)308
9.1.11time函數(shù)309
9.1.12tzset函數(shù)309
9.1.13unixtodos函數(shù)310
9.2數(shù)據(jù)結(jié)構(gòu)函數(shù)310
9.2.1bsearch函數(shù)310
9.2.2lfind函數(shù)311
9.2.3lsearch函數(shù)312
9.2.4hcreate函數(shù)313
9.2.5hdestory函數(shù)313
9.2.6hsearch函數(shù)314
9.2.7insque函數(shù)315
9.2.8qsort函數(shù)316
9.2.9remque函數(shù)316
9.2.10tdelete函數(shù)317
9.2.11tfind函數(shù)318
9.2.12tsearch函數(shù)319
9.2.13twalk函數(shù)320
9.3錯(cuò)誤處理函數(shù)322
9.3.1assert函數(shù)322
9.3.2clearerr函數(shù)322
9.3.3dosexterr函數(shù)323
9.3.4ferror函數(shù)323
9.3.5harderr函數(shù)324
9.3.6hardresume函數(shù)325
9.3.7matherr函數(shù)325
9.3.8perror函數(shù)326
9.3.9strerror函數(shù)326
9.4其他常用函數(shù)326
9.4.1contry函數(shù)327
9.4.2getopt函數(shù)327
9.4.3select函數(shù)328
9.4.4ttyname函數(shù)329
第10章UNIX環(huán)境專用函數(shù)331
10.1系統(tǒng)管理函數(shù)331
10.1.1closelog函數(shù)331
10.1.2getenv函數(shù)331
10.1.3gethostname函數(shù)332
10.1.4openlog函數(shù)332
10.1.5putenv函數(shù)333
10.1.6setenv函數(shù)333
10.1.7sethostname函數(shù)334
10.1.8syslog函數(shù)334
10.1.9unsetenv函數(shù)335
10.2用戶和組管理函數(shù)335
10.2.1cuserid函數(shù)336
10.2.2endgrent函數(shù)336
10.2.3endpwent函數(shù)337
10.2.4endutent函數(shù)337
10.2.5fgetgrent函數(shù)337
10.2.6fgetpwent函數(shù)338
10.2.7getegid函數(shù)339
10.2.8geteuid函數(shù)339
10.2.9getgid函數(shù)340
10.2.10getgrent函數(shù)340
10.2.11getgrgid函數(shù)341
10.2.12getgrnam函數(shù)341
10.2.13getgroups函數(shù)342
10.2.14getlogin函數(shù)343
10.2.15getpw函數(shù)343
10.2.16getpwent函數(shù)343
10.2.17getpwnam函數(shù)344
10.2.18getpwuid函數(shù)345
10.2.19getuid函數(shù)345
10.2.20getutent函數(shù)346
10.2.21getutid函數(shù)347
10.2.22getutline函數(shù)348
10.2.23initgroups函數(shù)349
10.2.24logwtmp函數(shù)350
10.2.25pututline函數(shù)350
10.2.26setegid函數(shù)351
10.2.27seteuid函數(shù)351
10.2.28setfsgid函數(shù)352
10.2.29setfsuid函數(shù)352
10.2.30setgid函數(shù)352
10.2.31setgrent函數(shù)353
10.2.32setgroups函數(shù)353
10.2.33setpwent函數(shù)354
10.2.34setregid函數(shù)355
10.2.35setreuid函數(shù)355
10.2.36setuid函數(shù)356
10.2.37setutent函數(shù)356
10.2.38updwtmp函數(shù)357
10.2.39utmpname函數(shù)358
10.3管道操作函數(shù)358
10.3.1mkfifo函數(shù)359
10.3.2pclose函數(shù)359
10.3.3pipe函數(shù)360
10.3.4popen函數(shù)361
10.4進(jìn)程控制函數(shù)361
10.4.1fork函數(shù)361
10.4.2getpgid函數(shù)362
10.4.3getpgrp函數(shù)362
10.4.4getpid函數(shù)363
10.4.5getppid函數(shù)363
10.4.6getpriority函數(shù)363
10.4.7nice函數(shù)364
10.4.8on_exit函數(shù)364
10.4.9setpgid函數(shù)365
10.4.10setpgrp函數(shù)365
10.4.11setpriority函數(shù)366
10.4.12wait函數(shù)366
10.4.13waitpid函數(shù)367
10.5進(jìn)程通信函數(shù)367
10.5.1ftok函數(shù)368
10.5.2msgctl函數(shù)368
10.5.3msgget函數(shù)369
10.5.4msgrcv函數(shù)370
10.5.5msgsnd函數(shù)371
10.5.6semctl函數(shù)372
10.5.7semget函數(shù)373
10.5.8semop函數(shù)374
10.5.9shmat函數(shù)375
10.5.10shmctl函數(shù)376
10.5.11shmdt函數(shù)377
10.5.12shmget函數(shù)378
10.6信號(hào)函數(shù)378
10.6.1alarm函數(shù)379
10.6.2kill函數(shù)379
10.6.3pause函數(shù)380
10.6.4psignal函數(shù)380
10.6.5raise函數(shù)381
10.6.6sigaction函數(shù)381
10.6.7sigaddset函數(shù)382
10.6.8sigdelset函數(shù)382
10.6.9sigemptyset函數(shù)383
10.6.10sigfillset函數(shù)383
10.6.11sigismember函數(shù)384
10.6.12signal函數(shù)384
10.6.13sigpause函數(shù)385
10.6.14sigpending函數(shù)385
10.6.15sigprocmask函數(shù)386
10.6.16sigsuspend函數(shù)386
10.7網(wǎng)絡(luò)相關(guān)函數(shù)387
10.7.1accept函數(shù)388
10.7.2bind函數(shù)389
10.7.3connect函數(shù)389
10.7.4endprotoent函數(shù)389
10.7.5endservent函數(shù)390
10.7.6gethostbyaddr函數(shù)390
10.7.7gethostbyname函數(shù)390
10.7.8getprotobyname函數(shù)391
10.7.9getprotobynumber函數(shù)391
10.7.10getprotoent函數(shù)392
10.7.11getservbyname函數(shù)392
10.7.12getservbyport函數(shù)393
10.7.13getservent函數(shù)393
10.7.14getsockopt函數(shù)394
10.7.15herror函數(shù)394
10.7.16hstrerror函數(shù)395
10.7.17htonl函數(shù)395
10.7.18htons函數(shù)395
10.7.19inet_addr函數(shù)395
10.7.20inet_aton函數(shù)396
10.7.21inet_ntoa函數(shù)396
10.7.22listen函數(shù)396
10.7.23ntohl函數(shù)396
10.7.24ntohs函數(shù)397
10.7.25recv函數(shù)397
10.7.26recvfrom函數(shù)397
10.7.27recvmsg函數(shù)398
10.7.28send函數(shù)399
10.7.29sendmsg函數(shù)399
10.7.30sendto函數(shù)399
10.7.31setprotoent函數(shù)400
10.7.32setservent函數(shù)400
10.7.33setsockopt函數(shù)400
10.7.34shutdown函數(shù)400
10.7.35socket函數(shù)401
10.8正則表達(dá)式函數(shù)401
10.8.1regcomp函數(shù)401
10.8.2regerror函數(shù)402
10.8.3regexec函數(shù)403
10.8.4regfree函數(shù)403
10.9動(dòng)態(tài)函數(shù)404
10.9.1dlclose函數(shù)404
10.9.2dlerror函數(shù)404
10.9.3dlopen函數(shù)405
10.9.4dlsym函數(shù)405
附錄406
A.1C語言關(guān)鍵字406
A.2C語言數(shù)據(jù)類型406