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

winbs_ushort.c

unsigned short __cdecl _byteswap_ushort(unsigned short _Short);

unsigned short __cdecl _byteswap_ushort(unsigned short _Short)
{
  unsigned short retval;
  __asm__ __volatile__ ("rorw $8, %w[retval]" : [retval] "=rm" (retval) : "[retval]" (_Short));
  return retval;
}

Generated by  Doxygen 1.6.0   Back to index