|
1 | 1 | --- |
2 | | -description: "Learn more about: _nolock Functions" |
3 | 2 | title: "_nolock Functions" |
4 | | -ms.date: "11/04/2016" |
| 3 | +description: "Learn more about: _nolock Functions" |
| 4 | +ms.date: "04/14/2024" |
5 | 5 | helpviewer_keywords: ["_nolock functions", "nolock functions"] |
6 | | -ms.assetid: 7d651d87-38d2-4303-9897-fdb5f7a3e899 |
7 | 6 | --- |
8 | 7 | # `_nolock` functions |
9 | 8 |
|
10 | | -The `_nolock` functions are versions of I/O functions that don't perform any locking. They're provided for users requiring maximum performance. For more information, see [Multithreaded libraries performance](./multithreaded-libraries-performance.md). |
| 9 | +The `_nolock` functions are versions of I/O functions that don't perform any locking. They're provided for users requiring maximum performance. For more information, see [Multithreaded libraries performance](multithreaded-libraries-performance.md). |
11 | 10 |
|
12 | | -Use _nolock functions only if your program is truly single-threaded or if it does its own locking. |
| 11 | +Use `_nolock` functions only if your program is truly single-threaded or if it does its own locking. |
13 | 12 |
|
14 | 13 | ## No lock routines |
15 | 14 |
|
16 | | -[`_fclose_nolock`](./reference/fclose-nolock.md) |
17 | | - |
18 | | -[`_fflush_nolock`](./reference/fflush-nolock.md) |
19 | | - |
20 | | -[`_fgetc_nolock`, `_fgetwc_nolock`](./reference/fgetc-nolock-fgetwc-nolock.md) |
21 | | - |
22 | | -[`_fread_nolock`](./reference/fread-nolock.md) |
23 | | - |
24 | | -[`_fseek_nolock`, `_fseeki64_nolock`](./reference/fseek-nolock-fseeki64-nolock.md) |
25 | | - |
26 | | -[`_ftell_nolock`, `_ftelli64_nolock`](./reference/ftell-nolock-ftelli64-nolock.md) |
27 | | - |
28 | | -[`_fwrite_nolock`](./reference/fwrite-nolock.md) |
29 | | - |
30 | | -[`_getc_nolock`, `_getwc_nolock`](./reference/getc-nolock-getwc-nolock.md) |
31 | | - |
32 | | -[`_getch_nolock`, `_getwch_nolock`](./reference/getch-nolock-getwch-nolock.md) |
33 | | - |
34 | | -[`_getchar_nolock`, `_getwchar_nolock`](./reference/getchar-nolock-getwchar-nolock.md) |
35 | | - |
36 | | -[`_getche_nolock`, `_getwche_nolock`](./reference/getche-nolock-getwche-nolock.md) |
37 | | - |
38 | | -[`_getdcwd_nolock`, `_wgetdcwd_nolock`](./reference/getdcwd-nolock-wgetdcwd-nolock.md) |
39 | | - |
40 | | -[`_putc_nolock`, `_putwc_nolock`](./reference/putc-nolock-putwc-nolock.md) |
41 | | - |
42 | | -[`_putch_nolock`, `_putwch_nolock`](./reference/putch-nolock-putwch-nolock.md) |
43 | | - |
44 | | -[`_putchar_nolock`, `_putwchar_nolock`](./reference/putchar-nolock-putwchar-nolock.md) |
45 | | - |
46 | | -[`_ungetc_nolock`, `_ungetwc_nolock`](./reference/ungetc-nolock-ungetwc-nolock.md) |
47 | | - |
48 | | -[`_ungetch_nolock`, `_ungetwch_nolock`](./reference/ungetch-ungetwch-ungetch-nolock-ungetwch-nolock.md) |
| 15 | +| Routine | Use | |
| 16 | +|---|---| |
| 17 | +| [`_fclose_nolock`](reference/fclose-nolock.md) | Closes a stream without locking | |
| 18 | +| [`_fflush_nolock`](reference/fflush-nolock.md) | Flushes a stream without locking | |
| 19 | +| [`_fgetc_nolock`, `_fgetwc_nolock`](reference/fgetc-nolock-fgetwc-nolock.md) | Reads a character from a stream without locking | |
| 20 | +| [`_fread_nolock`](reference/fread-nolock.md) | Reads data from a stream without locking | |
| 21 | +| [`_fseek_nolock`, `_fseeki64_nolock`](reference/fseek-nolock-fseeki64-nolock.md) | Moves the file pointer to a specified location without locking | |
| 22 | +| [`_ftell_nolock`, `_ftelli64_nolock`](reference/ftell-nolock-ftelli64-nolock.md) | Gets the current position of a file pointer without locking | |
| 23 | +| [`_fwrite_nolock`](reference/fwrite-nolock.md) | Writes data to a stream without locking | |
| 24 | +| [`_getc_nolock`, `_getwc_nolock`](reference/getc-nolock-getwc-nolock.md) | Reads a character from a stream without locking | |
| 25 | +| [`_getch_nolock`, `_getwch_nolock`](reference/getch-nolock-getwch-nolock.md) | Gets a character from the console without echo and without locking | |
| 26 | +| [`_getchar_nolock`, `_getwchar_nolock`](reference/getchar-nolock-getwchar-nolock.md) | Reads a character from the standard input without locking | |
| 27 | +| [`_getche_nolock`, `_getwche_nolock`](reference/getche-nolock-getwche-nolock.md) | Gets a character from the console with echo and without locking | |
| 28 | +| [`_getdcwd_nolock`, `_wgetdcwd_nolock`](reference/getdcwd-nolock-wgetdcwd-nolock.md) | Gets the full path of the current working directory on the specified drive | |
| 29 | +| [`_putc_nolock`, `_putwc_nolock`](reference/putc-nolock-putwc-nolock.md) | Writes a character to a stream without locking | |
| 30 | +| [`_putch_nolock`, `_putwch_nolock`](reference/putch-nolock-putwch-nolock.md) | Writes a character to the console without locking | |
| 31 | +| [`_putchar_nolock`, `_putwchar_nolock`](reference/putchar-nolock-putwchar-nolock.md) | Writes a character to `stdout` without locking | |
| 32 | +| [`_ungetc_nolock`, `_ungetwc_nolock`](reference/ungetc-nolock-ungetwc-nolock.md) | Pushes a character back onto the stream without locking | |
| 33 | +| [`_ungetch_nolock`, `_ungetwch_nolock`](reference/ungetch-ungetwch-ungetch-nolock-ungetwch-nolock.md) | Pushes back the last character that's read from the console without locking | |
49 | 34 |
|
50 | 35 | ## See also |
51 | 36 |
|
52 | | -[Input and output](./input-and-output.md)\ |
53 | | -[Universal C runtime routines by category](./run-time-routines-by-category.md) |
| 37 | +[Input and output](input-and-output.md)\ |
| 38 | +[Universal C runtime routines by category](run-time-routines-by-category.md) |
0 commit comments