Skip to content

Commit 4852cbe

Browse files
Merge pull request #4769 from corob-msft/learn/corob/ucrt_f1_r4
Fixing UCRT F1 issues 4 of many
2 parents 4e76241 + 1da0df0 commit 4852cbe

9 files changed

+11
-11
lines changed

docs/c-runtime-library/reference/fsopen-wfsopen.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ The argument *`shflag`* is a constant expression consisting of one of the follow
8080

8181
| Term | Definition |
8282
|---|---|
83-
| `_SH_COMPAT` | Sets Compatibility mode for 16-bit applications. |
8483
| `_SH_DENYNO` | Permits read and write access. |
8584
| `_SH_DENYRD` | Denies read access to the file. |
8685
| `_SH_DENYRW` | Denies read and write access to the file. |

docs/c-runtime-library/reference/signal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ By default, **`signal`** terminates the calling program with exit code 3, regard
5656
> [!NOTE]
5757
> `SIGINT` is not supported for any Win32 application. When a CTRL+C interrupt occurs, Win32 operating systems generate a new thread to specifically handle that interrupt. This can cause a single-thread application, such as one in UNIX, to become multithreaded and cause unexpected behavior.
5858
59-
The *`func`* argument is an address to a signal handler that you write, or to one of the predefined constants `SIG_DFL` or `SIG_IGN`, which are also defined in SIGNAL.H. If *`func`* is a function, it's installed as the signal handler for the given signal. The signal handler's prototype requires one formal argument, *`sig`*, of type **`int`**. The operating system provides the actual argument through *`sig`* when an interrupt occurs; the argument is the signal that generated the interrupt. Therefore, you can use the six manifest constants (listed in the preceding table) in your signal handler to determine which interrupt occurred and take appropriate action. For example, you can call **`signal`** twice to assign the same handler to two different signals, and then test the *`sig`* argument in the handler to take different actions based on the signal received.
59+
The *`func`* argument is an address to a signal handler that you write, or to one of the predefined [signal action constants](../signal-action-constants.md) `SIG_DFL` or `SIG_IGN`, which are also defined in SIGNAL.H. If *`func`* is a function, it's installed as the signal handler for the given signal. The signal handler's prototype requires one formal argument, *`sig`*, of type **`int`**. The operating system provides the actual argument through *`sig`* when an interrupt occurs; the argument is the signal that generated the interrupt. Therefore, you can use the six manifest constants (listed in the preceding table) in your signal handler to determine which interrupt occurred and take appropriate action. For example, you can call **`signal`** twice to assign the same handler to two different signals, and then test the *`sig`* argument in the handler to take different actions based on the signal received.
6060
6161
If you're testing for floating-point exceptions (`SIGFPE`), *`func`* points to a function that takes an optional second argument that is one of several manifest constants, defined in `FLOAT.H`, of the form `FPE_xxx`. When a `SIGFPE` signal occurs, you can test the value of the second argument to determine the kind of floating-point exception, and then take appropriate action. This argument and its possible values are Microsoft extensions.
6262

docs/c-runtime-library/sbcs-and-mbcs-data-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "SBCS and MBCS Data Types"
33
description: "How to represent single and multibyte characters in the Microsoft C runtime."
44
ms.topic: "conceptual"
55
ms.date: "04/11/2018"
6-
f1_keywords: ["MBCS", "SBCS"]
6+
f1_keywords: ["_MBCS", "MBCS", "SBCS"]
77
helpviewer_keywords: ["SBCS and MBCS data types", "data types [C], MBCS and SBCS"]
88
ms.assetid: 4c3ef9da-e397-48d4-800e-49dba36db171
99
---

docs/c-runtime-library/security-features-in-the-crt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Security Features in the CRT"
33
description: "An overview of secure CRT functions in the Microsoft C runtime."
44
ms.date: "09/29/2020"
55
ms.topic: "conceptual"
6-
f1_keywords: ["_CRT_SECURE_NO_DEPRECATE", "_CRT_NONSTDC_NO_WARNINGS", "_CRT_SECURE_NO_WARNINGS"]
6+
f1_keywords: ["_CRT_SECURE_NO_DEPRECATE", "_CRT_NONSTDC_NO_DEPRECATE", "_CRT_NONSTDC_NO_WARNINGS", "_CRT_SECURE_NO_WARNINGS"]
77
helpviewer_keywords: ["security deprecation warnings [C++]", "CRT_NONSTDC_NO_DEPRECATE", "buffers [C++], buffer overruns", "deprecation warnings (security-related), disabling", "_CRT_NONSTDC_NO_WARNINGS", "security [CRT]", "_CRT_SECURE_NO_WARNINGS", "_CRT_NONSTDC_NO_DEPRECATE", "_CRT_SECURE_NO_DEPRECATE", "security-enhanced CRT", "CRT_SECURE_NO_WARNINGS", "CRT_SECURE_NO_DEPRECATE", "deprecation warnings (security-related)", "buffer overruns", "CRT_NONSTDC_NO_WARNINGS", "CRT, security enhancements", "parameters [C++], validation"]
88
ms.assetid: d9568b08-9514-49cd-b3dc-2454ded195a3
99
---

docs/c-runtime-library/set-app-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ api_name: ["_set_app_type", "_o__set_app_type"]
66
api_location: ["api-ms-win-crt-runtime-l1-1-0.dll"]
77
api_type: ["DLLExport"]
88
topic_type: ["apiref"]
9-
f1_keywords: ["_set_app_type", "corecrt_startup/_set_app_type"]
9+
f1_keywords: ["_set_app_type", "corecrt_startup/_set_app_type", "corecrt_startup/_crt_app_type", "corecrt_startup/_crt_unknown_app", "corecrt_startup/_crt_console_app", "corecrt_startup/_crt_gui_app"]
1010
ms.assetid: 1e7fe786-b587-4116-8c05-f7d762350100
1111
---
1212
# `_set_app_type`

docs/c-runtime-library/setvbuf-constants.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: "Learn more about: setvbuf Constants"
33
title: "setvbuf Constants"
44
ms.date: "11/04/2016"
5-
f1_keywords: ["_IOFBF", "_IONBF", "_IOLBF"]
5+
f1_keywords: ["STDIO/_IOFBF", "STDIO/_IONBF", "STDIO/_IOLBF", "_IOFBF", "_IONBF", "_IOLBF"]
66
helpviewer_keywords: ["_IOFBF constant", "IOFBF constant", "IONBF constant", "_IOLBF constant", "IOLBF constant", "_IONBF constant"]
77
ms.assetid: a6ec4dd5-1f24-498c-871a-e874cd28d33c
88
---

docs/c-runtime-library/sharing-constants.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
description: "Learn more about: Sharing Constants"
33
title: "Sharing Constants"
44
ms.date: "11/04/2016"
5-
f1_keywords: ["_SH_DENYNO", "_SH_DENYRD", "_SH_DENYRW", "_SH_DENYWR", "_SH_COMPAT"]
6-
helpviewer_keywords: ["_SH_DENYRW constant", "SH_DENYRD constant", "_SH_COMPAT constant", "_SH_DENYRD constant", "SH_DENYRW constant", "sharing constants", "SH_DENYNO constant", "_SH_DENYWR constant", "SH_DENYWR constant", "_SH_DENYNO constant", "SH_COMPAT constant"]
5+
f1_keywords: ["CORECRT_SHARE/_SH_DENYNO", "CORECRT_SHARE/_SH_DENYRD", "CORECRT_SHARE/_SH_DENYRW", "CORECRT_SHARE/_SH_DENYWR", "CORECRT_SHARE/_SH_SECURE", "_SH_DENYNO", "_SH_DENYRD", "_SH_DENYRW", "_SH_DENYWR", "_SH_SECURE"]
6+
helpviewer_keywords: ["_SH_DENYRW constant", "SH_DENYRD constant", "_SH_SECURE constant", "_SH_DENYRD constant", "SH_DENYRW constant", "sharing constants", "SH_DENYNO constant", "_SH_DENYWR constant", "SH_DENYWR constant", "_SH_DENYNO constant", "SH_SECURE constant"]
77
ms.assetid: 95fadc3a-55dc-473d-98b5-e8211900465d
88
---
99
# Sharing constants

docs/c-runtime-library/signal-action-constants.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: "Learn more about: signal Action Constants"
33
title: "signal Action Constants"
44
ms.date: "11/04/2016"
5-
f1_keywords: ["SIG_IGN", "SIG_DFL"]
5+
f1_keywords: ["SIGNAL/SIG_IGN", "SIGNAL/SIG_DFL", "SIGNAL/SIG_GET", "SIGNAL/SIG_SGE", "SIGNAL/SIG_ACK", "SIGNAL/SIG_ERR", "SIG_IGN", "SIG_DFL", "SIG_GET", "SIG_SGE", "SIG_ACK", "SIG_ERR"]
66
helpviewer_keywords: ["signal action constants", "SIG_IGN constant", "SIG_DFL constant"]
77
ms.assetid: c3cb4f15-d39e-4d9d-84f9-0d33e3eb5993
88
---
@@ -24,6 +24,7 @@ The `func` argument must be either a function address or one of the manifest con
2424
|---|---|
2525
| `SIG_DFL` | Uses system-default response. If the calling program uses stream I/O, buffers created by the run-time library aren't flushed. |
2626
| `SIG_IGN` | Ignores interrupt signal. This value should never be given for `SIGFPE`, since the floating-point state of the process is left undefined. |
27+
| `SIG_GET` | Returns the current value of the signal. |
2728
| `SIG_SGE` | Indicates an error occurred in the signal. |
2829
| `SIG_ACK` | Indicates an acknowledgment was received. |
2930
| `SIG_ERR` | A return type from a signal indicating an error has occurred. |

docs/c-runtime-library/signal-constants.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: "Learn more about: signal Constants"
33
title: "signal Constants"
44
ms.date: "11/04/2016"
5-
f1_keywords: ["SIGTERM", "SIGFPE", "SIGABRT", "SIGILL", "SIGINT", "SIGSEGV"]
5+
f1_keywords: ["SIGNAL/SIGTERM", "SIGNAL/SIGFPE", "SIGNAL/SIGABRT", "SIGNAL/SIGILL", "SIGNAL/SIGINT", "SIGNAL/SIGSEGV", "SIGNAL/SIGABRT_COMPAT", "SIGTERM", "SIGFPE", "SIGABRT", "SIGILL", "SIGINT", "SIGSEGV", "SIGABRT_COMPAT"]
66
helpviewer_keywords: ["SIGTERM constant", "SIGABRT constant", "SIGSEGV constant", "SIGFPE constant", "SIGINT constant", "signal constants", "SIGILL constant"]
77
ms.assetid: a3b39281-dae7-4e44-8d68-e6a610c669dd
88
---
@@ -21,7 +21,7 @@ The `sig` argument must be one of the manifest constants listed below (defined i
2121
| Constant | Description |
2222
|---|---|
2323
| `SIGABRT` | Abnormal termination. The default action terminates the calling program with exit code 3. |
24-
| `SIGABRT_COMPAT` | Same as `SIGABRT`. For compatibility with other platforms. |
24+
| `SIGABRT_COMPAT` | Same meaning as `SIGABRT`. For compatibility with other platforms. |
2525
| `SIGFPE` | Floating-point error, such as overflow, division by zero, or invalid operation. The default action terminates the calling program. |
2626
| `SIGILL` | Illegal instruction. The default action terminates the calling program. |
2727
| `SIGINT` | CTRL+C interrupt. The default action terminates the calling program with exit code 3. |

0 commit comments

Comments
 (0)