This topic has not yet been rated - Rate this topic

__trap 

Visual Studio 2005

This function inserts a trap instruction.


int __cdecl __trap(
  arg1,
);

Parameters

arg1

[in] The trap number.

The integer value provided by the trap handler. If the trap handler provides no return value, the return value is undefined.

The compiler backend can enforce restrictions on the arguments, including the trap number, and can define a special calling convention for the trap.

The interpretation of the trap number and the actions taken by the trap handler are not defined.

Routine Required header Architecture

__trap

<cmnintrin.h>

x86, ARM, SH-4, MIPS

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.