Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.15 KB

readeflags.md

File metadata and controls

47 lines (38 loc) · 1.15 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
__readeflags | Microsoft Docs
11/04/2016
cpp-tools
article
__readeflags
C++
__readeflags intrinsic
f9d2f4d8-c428-491f-b8de-04d0566b2b6b
5
corob-msft
corob
ghogen

__readeflags

Reads the program status and control (EFLAGS) register.

Syntax

unsigned     int __readeflags(void);  
unsigned __int64 __readeflags(void);  

Return Value

The value of the EFLAGS register. The return value is 32 bits long on a 32-bit platform and 64 bits long on a 64-bit platform.

Remarks

These routines are available only as intrinsics.

Requirements

Intrinsic Architecture
__readeflags x86, [!INCLUDEvcprx64]

Header file <intrin.h>

END Microsoft Specific

See Also

Compiler Intrinsics
__writeeflags