Skip to content

Commit f601967

Browse files
author
Colin Robertson
committed
First pass at consistent Microsoft-specific
1 parent 834739b commit f601967

File tree

82 files changed

+124
-123
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+124
-123
lines changed

docs/assembler/inline/using-c-or-cpp-in-asm-blocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.assetid: ae8b2b52-6b75-42e3-ac0c-ad02d922ed97
66
---
77
# Using C or C++ in __asm Blocks
88

9-
** Microsoft Specific **
9+
**Microsoft Specific**
1010

1111
Because inline assembly instructions can be mixed with C or C++ statements, they can refer to C or C++ variables by name and use many other elements of those languages.
1212

docs/c-language/c-extended-storage-class-attributes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ The extended attribute syntax for specifying storage-class information uses the
1717
## Syntax
1818

1919
*storage-class-specifier*:<br/>
20-
&nbsp;&nbsp;&nbsp;&nbsp;**__declspec (** *extended-decl-modifier-seq* **)** /\* Microsoft Specific \*/
20+
&nbsp;&nbsp;&nbsp;&nbsp;**__declspec (** *extended-decl-modifier-seq* **)** /\* Microsoft-specific \*/
2121

22-
*extended-decl-modifier-seq*:&nbsp;&nbsp;&nbsp;&nbsp;/\* Microsoft Specific \*/<br/>
22+
*extended-decl-modifier-seq*:&nbsp;&nbsp;&nbsp;&nbsp;/\* Microsoft-specific \*/<br/>
2323
&nbsp;&nbsp;&nbsp;&nbsp;*extended-decl-modifier*<sub>opt</sub><br/>
2424
&nbsp;&nbsp;&nbsp;&nbsp;*extended-decl-modifier-seq* *extended-decl-modifier*
2525

26-
*extended-decl-modifier*:&nbsp;&nbsp;&nbsp;&nbsp;/\* Microsoft Specific \*/<br/>
26+
*extended-decl-modifier*:&nbsp;&nbsp;&nbsp;&nbsp;/\* Microsoft-specific \*/<br/>
2727
&nbsp;&nbsp;&nbsp;&nbsp;**thread**<br/>
2828
&nbsp;&nbsp;&nbsp;&nbsp;**naked**<br/>
2929
&nbsp;&nbsp;&nbsp;&nbsp;**dllimport**<br/>

docs/c-language/c-function-definitions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ A function definition specifies the name of the function, the types and number o
2121
*function-definition*:<br/>
2222
&nbsp;&nbsp;&nbsp;&nbsp;*declaration-specifiers*<sub>opt</sub> *attribute-seq*<sub>opt</sub> *declarator* *declaration-list*<sub>opt</sub> *compound-statement*
2323

24-
/\* *attribute-seq* is Microsoft Specific \*/
24+
/\* *attribute-seq* is Microsoft-specific \*/
2525

2626
Prototype parameters are:
2727

docs/c-language/c-multiplicative-operators.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,15 @@ The C multiplicative operators are described below:
2828
|Operator|Description|
2929
|--------------|-----------------|
3030
|<strong>\*</strong>|The multiplication operator causes its two operands to be multiplied.|
31-
|**/**|The division operator causes the first operand to be divided by the second. If two integer operands are divided and the result is not an integer, it is truncated according to the following rules:<br/><br/>- The result of division by 0 is undefined according to the ANSI C standard. The Microsoft C compiler generates an error at compile time or run time.<br/><br/>- If both operands are positive or unsigned, the result is truncated toward 0.<br/><br/>- If either operand is negative, whether the result of the operation is the largest integer less than or equal to the algebraic quotient or is the smallest integer greater than or equal to the algebraic quotient is implementation defined. (See the Microsoft Specific section below.)|
32-
|**%**|The result of the remainder operator is the remainder when the first operand is divided by the second. When the division is inexact, the result is determined by the following rules:<br/><br/>- If the right operand is zero, the result is undefined.<br/><br/>- If both operands are positive or unsigned, the result is positive.<br/><br/>- If either operand is negative and the result is inexact, the result is implementation defined. (See the Microsoft Specific section below.)|
31+
|**/**|The division operator causes the first operand to be divided by the second. If two integer operands are divided and the result is not an integer, it is truncated according to the following rules:<br/><br/>- The result of division by 0 is undefined according to the ANSI C standard. The Microsoft C compiler generates an error at compile time or run time.<br/><br/>- If both operands are positive or unsigned, the result is truncated toward 0.<br/><br/>- If either operand is negative, whether the result of the operation is the largest integer less than or equal to the algebraic quotient or is the smallest integer greater than or equal to the algebraic quotient is implementation defined. (See the Microsoft-specific section below.)|
32+
|**%**|The result of the remainder operator is the remainder when the first operand is divided by the second. When the division is inexact, the result is determined by the following rules:<br/><br/>- If the right operand is zero, the result is undefined.<br/><br/>- If both operands are positive or unsigned, the result is positive.<br/><br/>- If either operand is negative and the result is inexact, the result is implementation defined. (See the Microsoft-specific section below.)|
3333

34-
**Microsoft Specific**
34+
### Microsoft-specific
3535

3636
In division where either operand is negative, the direction of truncation is toward 0.
3737

3838
If either operation is negative in division with the remainder operator, the result has the same sign as the dividend (the first operand in the expression).
3939

40-
**END Microsoft Specific**
41-
4240
## Examples
4341

4442
The declarations shown below are used for the following examples:

docs/c-language/c-storage-classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ C provides the following storage-class specifiers:
2020
&nbsp;&nbsp;&nbsp;&nbsp;**static**<br/>
2121
&nbsp;&nbsp;&nbsp;&nbsp;**extern**<br/>
2222
&nbsp;&nbsp;&nbsp;&nbsp;**typedef**<br/>
23-
&nbsp;&nbsp;&nbsp;&nbsp;**__declspec (** *extended-decl-modifier-seq* **)** /\* Microsoft Specific \*/
23+
&nbsp;&nbsp;&nbsp;&nbsp;**__declspec (** *extended-decl-modifier-seq* **)** /\* Microsoft-specific \*/
2424

2525
Except for `__declspec`, you can use only one *storage-class-specifier* in the *declaration-specifier* in a declaration. If no storage-class specification is made, declarations within a block create automatic objects.
2626

docs/c-language/function-body.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A *function body* is a compound statement containing the statements that specify
1313
*function-definition*:<br/>
1414
&nbsp;&nbsp;&nbsp;&nbsp;*declaration-specifiers*<sub>opt</sub> *attribute-seq*<sub>opt</sub> *declarator* *declaration-list*<sub>opt</sub> *compound-statement*
1515

16-
/\* *attribute-seq* is Microsoft Specific \*/
16+
/\* *attribute-seq* is Microsoft-specific \*/
1717

1818
*compound-statement*: /\* The function body \*/<br/>
1919
&nbsp;&nbsp;&nbsp;&nbsp;**{** *declaration-list*<sub>opt</sub> *statement-list*<sub>opt</sub> **}**

docs/c-language/function-prototypes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A function declaration precedes the function definition and specifies the name,
1313
*declaration*:<br/>
1414
&nbsp;&nbsp;&nbsp;&nbsp;*declaration-specifiers* *attribute-seq*<sub>opt</sub> *init-declarator-list*<sub>opt</sub> **;**
1515

16-
/\* *attribute-seq*<sub>opt</sub> is Microsoft Specific \*/
16+
/\* *attribute-seq*<sub>opt</sub> is Microsoft-specific \*/
1717

1818
*declaration-specifiers*:<br/>
1919
&nbsp;&nbsp;&nbsp;&nbsp;*storage-class-specifier* *declaration-specifiers*<sub>opt</sub> <br/>

docs/c-language/overview-of-c-statements.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ C statements consist of tokens, expressions, and other statements. A statement t
2323

2424
[jump-statement](../c-language/break-statement-c.md)
2525

26-
[try-except-statement](../c-language/try-except-statement-c.md)
26+
[try-except-statement](../c-language/try-except-statement-c.md) /* Microsoft-specific \*/
2727

28-
/* Microsoft Specific \*/[try-finally-statement](../c-language/try-finally-statement-c.md) /\* Microsoft Specific \*/
28+
[try-finally-statement](../c-language/try-finally-statement-c.md) /\* Microsoft-specific \*/
2929

3030
Frequently the statement body is a "compound statement." A compound statement consists of other statements that can include keywords. The compound statement is delimited by braces (**{ }**). All other C statements end with a semicolon (**;**). The semicolon is a statement terminator.
3131

docs/c-language/overview-of-declarations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A "declaration" specifies the interpretation and attributes of a set of identifi
1313
*declaration*:<br/>
1414
&nbsp;&nbsp;&nbsp;&nbsp;*declaration-specifiers* *attribute-seq*<sub>opt</sub> *init-declarator-list*<sub>opt</sub>**;**
1515

16-
/\* *attribute-seq*<sub>opt</sub> is Microsoft specific */
16+
/\* *attribute-seq*<sub>opt</sub> is Microsoft-specific */
1717

1818
*declaration-specifiers*:<br/>
1919
&nbsp;&nbsp;&nbsp;&nbsp;*storage-class-specifier* *declaration-specifiers*<sub>opt</sub><br/>

docs/c-language/parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Arguments are names of values passed to a function by a function call. Parameter
1313
*function-definition*:<br/>
1414
&nbsp;&nbsp;&nbsp;&nbsp;*declaration-specifiers*<sub>opt</sub> *attribute-seq*<sub>opt</sub> *declarator* *declaration-list*<sub>opt</sub> *compound-statement*
1515

16-
/\* *attribute-seq* is Microsoft Specific \*/
16+
/\* *attribute-seq* is Microsoft-specific \*/
1717

1818
*declarator*:<br/>
1919
&nbsp;&nbsp;&nbsp;&nbsp;*pointer*<sub>opt</sub> *direct-declarator*

0 commit comments

Comments
 (0)