Skip to content

Latest commit

 

History

History
66 lines (57 loc) · 1.37 KB

File metadata and controls

66 lines (57 loc) · 1.37 KB
title __readeflags | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-tools
ms.tgt_pltfrm
ms.topic article
f1_keywords
__readeflags
dev_langs
C++
helpviewer_keywords
__readeflags intrinsic
ms.assetid f9d2f4d8-c428-491f-b8de-04d0566b2b6b
caps.latest.revision 5
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
ru-ru
zh-cn
zh-tw
translation.priority.mt
cs-cz
pl-pl
pt-br
tr-tr

__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