微软 CRT 函数表
用几页word全部写出来
Mrs Crt function 文挡
Mrs Crt function 文挡
版本信息:
| 版本 | 日期 | 作者 | 修改内容 |
| 1.0 | 2011-10-27 | Mrs | 初步完整版本 |
| | | | |
Run-Time Routines by Category
| Argument access | Floating-point support | Buffer manipulation | Input and output |
| Byte classification | Internationalization | Character classification | Memory allocation |
| Data conversion | Process and environment | Debug | Searching and sorting |
| Directory control | String manipulation | Error handling | System calls |
| Exception handling | Time management | File handling | |
Argument access
Floating-point support
| abs | acos | asin | atan | atof |
| Bessel | _cabs | ceil | _chgsign | _clear87 |
| _control87 | _copysign | cos | cosh | difftime |
| div | _ecvt | exp | fabs | _fcvt |
| _finite | floor | fmod | _fpclass | _fpieee |
| _fpreset | frexp | _gcvt | _hypot | _isnan |
| labs | ldexp | ldiv | log | log10 |
| _logb | _lrotl | _matherr | __max | __min |
| modf | _nextafter | pow | printf | rand |
| _rotl | _scalb | scanf | sin | sinh |
| sqrt | srand | _status87 | strtod | tan |
| tanh | | | | |
Buffer manipulation
| _memccpy | memchr | memcmp | memcpy | _memicmp |
| memmove | memset | _swab | | |
Input and output Stream IO
| clearerr | fclose | _fcloseall | _fdopen | feof |
| ferror | fflush | fgetc | _fgetchar | fgetpos |
| fgets | _fileno | _flushall | fopen | fprintf |
| fputc | _fputchar | fputs | fread | freopen |
| fscanf | fseek | fsetpos | _fsopen | ftell |
| fwrite | getc | getchar | gets | _getw |
| printf | putc | putchar | puts | _putw |
| rewind | _rmtmp | scanf | setbuf | _setmaxstdio |
| setvbuf | _snprintf | sprintf | sscanf | _tempnam |
| tmpfile | tmpnam | ungetc | vfprintf | vprintf |
| _vsnprintf | vsprintf | | | |
Input and output Low-level I/O
| _close | _commit | _creat | _dup | _dup2 |
| _eof | _lseek | _open | _read | _sopen |
| _tell | _umask | _write | | |
Input and output Console and Port I/O
| _cgets | _cprintf | _cputs | _cscanf | _getch |
| _getche | _inp | _inpd | _inpw | _kbhit |
| _outp | _outpd | _outpw | _putch | _ungetch |
Byte classification
| isleadbyte | _ismbbalnum | _ismbbalpha | _ismbbgraph | _ismbbkalnum |
| _ismbbkana | _ismbbkprint | _ismbbkpunct | _ismbblead | _ismbbprint |
| _ismbbpunct | _ismbbtrail | _ismbslead | _ismbstrail | _mbbtype |
| _mbsbtype | | | | |
Internationalization
Character classification
| isalnum | isalpha | __isascii | iscntrl | __iscsym |
| __iscsymf | isdigit | isgraph | islower | _ismbchira |
| _ismbckata | _ismbclegal | _ismbcl0 | _ismbcl1 | _ismbcl2 |
| _ismbcsymbol | isprint | ispunct | isspace | isupper |
| iswctype | isxdigit | mblen | | |
Memory allocation
| _alloca | calloc | _calloc_dbg | _expand | _expand_dbg |
| free | _free_dbg | _get_sbh_threshold | _heapadd | _heapchk |
| _heapmin | _heapset | _heapwalk | malloc | _malloc_dbg |
| _msize | _msize_dbg | _query_new_handler | _query_new_mode | realloc |
| _realloc_dbg | _set_new_handler | _set_new_mode | _set_sbh_threshold | |
Data conversion
| abs | atof | atoi | atol | _ecvt |
| _fcvt | _gcvt | _itoa | labs | _ltoa |
| _mbbtombc | _mbcjistojms | _mbcjmstojis | _mbctohira | _mbctokata |
| _mbctombb | mbstowcs | mbtowc | strtod | strtol |
| strtoul | strxfrm | __toascii | tolower | _tolower |
| toupper | _toupper | _ultoa | wcstombs | wctomb |
| _wtoi | _wtol | | | |
Process and environment
| abort | assert | _ASSERT | atexit | _beginthread |
| _cexit | _c_cexit | _cwait | _endthread | _execl |
| _execle | _execlp | _execlpe | _execv | _execve |
| _execvp | _execvpe | exit | _exit | getenv |
| _getpid | longjmp | _onexit | _pclose | perror |
| _pipe | _popen | _putenv | raise | setjmp |
| signal | _spawnl | _spawnle | _spawnlp | _spawnlpe |
| _spawnv | _spawnve | _spawnvp | _spawnvpe | system |
Debug
| _ASSERT | _ASSERTE | _CrtCheckMemory | _CrtDbgReport |
| _CrtDoForAllClientObjects | _CrtDumpMemoryLeaks | _CrtIsValidHeapPointer | _CrtIsMemoryBlock |
| _CrtIsValidPointer | _CrtMemCheckpoint | _CrtMemDifference | _CrtMemDumpAllObjectsSince |
| _CrtMemDumpStatistics | _CrtSetAllocHook | _CrtSetBreakAlloc | _CrtSetDbgFlag |
| _CrtSetDumpClient | _CrtSetReportFile | _CrtSetReportHook | _CrtSetReportMode |
| _RPT | _RPTF | _calloc_dbg | _expand_dbg |
| _free_dbg | _malloc_dbg | _msize_dbg | _realloc_dbg |
Searching and Sorting
| bsearch | _lfind | _lsearch | qsort |
Directory-Control
| _chdir | _chdrive | _getcwd | _getdcwd | _getdrive |
| _mkdir | _rmdir | _searchenv | | |
String manipulation
| _mbscoll | _mbsdec | _mbsinc | _mbslen | _mbsnbcat |
| _mbsnbcmp | _mbsnbcnt | _mbsnbcpy | _mbsnbicmp | _mbsnbset |
| _mbsnccnt | _mbsnextc | _mbsninc | _mbsspnp | _mbstrlen |
| sprintf | strcat | strchr | strcmp | strcoll |
| strcpy | strcspn | _strdup | strerror | _strerror |
| strftime | _stricmp | strlen | _strlwr | strncat |
| strncmp | strncpy | _strnicmp | _strnset | strpbrk |
| strrchr | _strrev | _strset | strspn | strstr |
| strtok | _strupr | strxfrm | vsprintf | |
Error-Handling
| assert | _ASSERT | clearerr | _eof | feof |
| ferror | _RPT | | | |
System Call
| _findclose | _findfirst | _findnext |
Exception-Handling
| _set_se_translator | set_terminate | set_unexpected | terminate | unexpected |
Time
| asctime | clock | ctime | difftime | _ftime |
| _futime | gmtime | localtime | mktime | _strdate |
| strftime | _strtime | time | _tzset | _utime |
File-Handling
File Handle
| _chsize | _filelength | _fstat | _isatty | _locking | _setmode |
Path or Filename
| _access | _chmod | _fullpath | _get | _makepath |
| _mktemp | _open | remove | rename | _splitpath |
| _stat | _umask | _unlink | | |
PDF在这里下载
/Files/jimsmorong/mcrt.pdf