Mobile API Reference  MicroStrategy 2019
PDCerrno.h File Reference
#include "ProtectedSource/Prolog.h"
#include <errno.h>
#include "ProtectedSource/Epilog.h"

Go to the source code of this file.

Macros

#define _VALIDATE_RETURN_ERRCODE(expr, errorcode)
 

Macro Definition Documentation

◆ _VALIDATE_RETURN_ERRCODE

#define _VALIDATE_RETURN_ERRCODE (   expr,
  errorcode 
)
Value:
{ \
_ASSERTE( ( expr ) ); \
if ( !( expr ) ) \
{ \
errno = errorcode; \
return ( errorcode ); \
} \
}

Defines a macro of parameter validation for security enhanced string and memory related functions.

Author
Qiang Xue