Logo Search packages:      
Sourcecode: mingw-w64 version File versions  Download package

readfsbyte.c
#include <intrin.h>

/* for x86 only */
unsigned char __readfsbyte(unsigned long Offset)
{
   unsigned char ret;
   __asm__ volatile ("movb    %%fs:%1,%0"
     : "=r" (ret) ,"=m" ((*(volatile long *) Offset)));
   return ret;
}


Generated by  Doxygen 1.6.0   Back to index