xed-portability.h File Reference


Detailed Description

Author:
Mark Charney <mark.charney@intel.com>

Definition in file xed-portability.h.

#include "xed-types.h"

Go to the source code of this file.

Defines

#define REINTERPRET_CAST(x, y)   ((x) (y))
#define STATIC_CAST(x, y)   ((x) (y))
#define XED_FMT_08X   "%08x"
#define XED_FMT_9U   "%9u"
#define XED_FMT_D   "%d"
#define XED_FMT_LD   "%lld"
#define XED_FMT_LU   "%llu"
#define XED_FMT_LX   "%llx"
#define XED_FMT_LX16   "%016llx"
#define XED_FMT_SIZET   "%d"
#define XED_FMT_U   "%u"
#define XED_FMT_X   "%x"
#define XED_INLINE   __inline
#define XED_NOINLINE   __declspec(noinline)
#define XED_NORETURN   __declspec(noreturn)

Functions

XED_DLL_EXPORT void xed_strcat (char *dst, const char *src)
XED_DLL_EXPORT void xed_strcpy (char *dst, const char *src)
XED_DLL_EXPORT xed_uint_t xed_strlen (const char *s)
XED_DLL_EXPORT int xed_strncat (char *dst, const char *src, int len)
 returns the number of bytes remaining for the next use of xed_strncpy() or xed_strncat() .
XED_DLL_EXPORT int xed_strncpy (char *dst, const char *src, int len)
 returns the number of bytes remaining for the next use of xed_strncpy() or xed_strncat() .


Define Documentation

#define REINTERPRET_CAST x,
 )     ((x) (y))
 

Definition at line 41 of file xed-portability.h.

#define STATIC_CAST x,
 )     ((x) (y))
 

Definition at line 40 of file xed-portability.h.

#define XED_FMT_08X   "%08x"
 

Definition at line 89 of file xed-portability.h.

#define XED_FMT_9U   "%9u"
 

Definition at line 92 of file xed-portability.h.

#define XED_FMT_D   "%d"
 

Definition at line 90 of file xed-portability.h.

#define XED_FMT_LD   "%lld"
 

Definition at line 103 of file xed-portability.h.

#define XED_FMT_LU   "%llu"
 

Definition at line 102 of file xed-portability.h.

#define XED_FMT_LX   "%llx"
 

Definition at line 101 of file xed-portability.h.

#define XED_FMT_LX16   "%016llx"
 

Definition at line 104 of file xed-portability.h.

#define XED_FMT_SIZET   "%d"
 

Definition at line 111 of file xed-portability.h.

#define XED_FMT_U   "%u"
 

Definition at line 91 of file xed-portability.h.

#define XED_FMT_X   "%x"
 

Definition at line 88 of file xed-portability.h.

#define XED_INLINE   __inline
 

Definition at line 123 of file xed-portability.h.

#define XED_NOINLINE   __declspec(noinline)
 

Definition at line 127 of file xed-portability.h.

#define XED_NORETURN   __declspec(noreturn)
 

Definition at line 129 of file xed-portability.h.


Function Documentation

XED_DLL_EXPORT void xed_strcat char *  dst,
const char *  src
 

XED_DLL_EXPORT void xed_strcpy char *  dst,
const char *  src
 

XED_DLL_EXPORT xed_uint_t xed_strlen const char *  s  ) 
 

XED_DLL_EXPORT int xed_strncat char *  dst,
const char *  src,
int  len
 

returns the number of bytes remaining for the next use of xed_strncpy() or xed_strncat() .

XED_DLL_EXPORT int xed_strncpy char *  dst,
const char *  src,
int  len
 

returns the number of bytes remaining for the next use of xed_strncpy() or xed_strncat() .


Generated on Thu May 15 03:15:09 2008 for XED2 by  doxygen 1.4.6