Skip to content

Commit 7a953f7

Browse files
committed
BitScanForward clarification to avoid ambiguous "return" term.
1 parent 2cf0073 commit 7a953f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/intrinsics/bitscanforward-bitscanforward64.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ unsigned char _BitScanForward64(
3939

4040
## Remarks
4141

42-
If a set bit is found, the bit position of the first set bit found is returned in the first parameter. If no set bit is found, 0 is returned; otherwise, 1 is returned.
42+
If a set bit is found, the bit position of the first set bit is written to the address specified in the first parameter and the function returns 1. If no bit is found, the function returns 0 and the value written to the address in the first parameter is undefined.
4343

4444
## Requirements
4545

0 commit comments

Comments
 (0)