[ros-diffs] [cfinck] 33748: Sorry, forgot this file

cfinck at svn.reactos.org cfinck at svn.reactos.org
Wed May 28 23:37:06 CEST 2008


Author: cfinck
Date: Wed May 28 16:37:05 2008
New Revision: 33748

URL: http://svn.reactos.org/svn/reactos?rev=33748&view=rev
Log:
Sorry, forgot this file

Added:
    trunk/reactos/lib/sdk/crt/except/checkesp.c   (with props)

Added: trunk/reactos/lib/sdk/crt/except/checkesp.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/except/checkesp.c?rev=33748&view=auto
==============================================================================
--- trunk/reactos/lib/sdk/crt/except/checkesp.c (added)
+++ trunk/reactos/lib/sdk/crt/except/checkesp.c [iso-8859-1] Wed May 28 16:37:05 2008
@@ -1,0 +1,35 @@
+/*********************************************************************
+*              _chkesp (MSVCRT.@)
+*
+* Trap to a debugger if the value of the stack pointer has changed.
+*
+* PARAMS
+*  None.
+*
+* RETURNS
+*  Does not return.
+*
+* NOTES
+*  This function is available for iX86 only.
+*
+*  When VC++ generates debug code, it stores the value of the stack pointer
+*  before calling any external function, and checks the value following
+*  the call. It then calls this function, which will trap if the values are
+*  not the same. Usually this means that the prototype used to call
+*  the function is incorrect.  It can also mean that the .spec entry has
+*  the wrong calling convention or parameters.
+*/
+
+#ifdef __i386__
+
+void _chkesp(void)
+{
+}
+
+#else
+
+void _chkesp(void)
+{
+}
+
+#endif  /* __i386__ */

Propchange: trunk/reactos/lib/sdk/crt/except/checkesp.c
------------------------------------------------------------------------------
    svn:eol-style = native



More information about the Ros-diffs mailing list