_nolock 函数_nolock Functions

这些是不执行任何锁定的函数。These are functions that do not perform any locking. 它们是为需要最佳性能的用户提供的。They are provided for users requiring maximum performance. 有关详细信息,请参阅多线程库性能For more information, see Multithreaded Libraries Performance.

仅在您的程序是真正的单线程程序或自行锁定时,使用才可以使用 _nolock 函数。Use _nolock functions only if your program is truly single-threaded or if it does its own locking.

_fclose_nolock_fclose_nolock

_fflush_nolock_fflush_nolock

_fgetc_nolock、_fgetwc_nolock_fgetc_nolock, _fgetwc_nolock

_fread_nolock_fread_nolock

_fseek_nolock、_fseeki64_nolock_fseek_nolock, _fseeki64_nolock

_ftell_nolock、_ftelli64_nolock_ftell_nolock, _ftelli64_nolock

_fwrite_nolock_fwrite_nolock

_getc_nolock、_getwc_nolock_getc_nolock, _getwc_nolock

_getch_nolock、_getwch_nolock_getch_nolock, _getwch_nolock

_getchar_nolock、_getwchar_nolock_getchar_nolock, _getwchar_nolock

_getche_nolock、_getwche_nolock_getche_nolock, _getwche_nolock

_getdcwd_nolock、_wgetdcwd_nolock_getdcwd_nolock, _wgetdcwd_nolock

_putc_nolock、_putwc_nolock_putc_nolock, _putwc_nolock

_putch_nolock、_putwch_nolock_putch_nolock, _putwch_nolock

_putchar_nolock、_putwchar_nolock_putchar_nolock, _putwchar_nolock

_ungetc_nolock、_ungetwc_nolock_ungetc_nolock, _ungetwc_nolock

_ungetch_nolock、_ungetwch_nolock_ungetch_nolock, _ungetwch_nolock

另请参阅See Also

输入和输出 Input and Output
按类别分的运行时例程Run-Time Routines by Category