Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenswab.c
Go to the documentation of this file.
00001 /* 00002 * COPYRIGHT: See COPYING in the top level directory 00003 * PROJECT: ReactOS system libraries 00004 * FILE: lib/crt/?????? 00005 * PURPOSE: Unknown 00006 * PROGRAMER: Unknown 00007 * UPDATE HISTORY: 00008 * 25/11/05: Added license header 00009 */ 00010 00011 #include <precomp.h> 00012 00013 /* 00014 * @implemented 00015 * 00016 * copy this swab from wine cvs 2006-05-24 00017 */ 00018 void _swab (char * src, char * dst, int sizeToCopy) 00019 00020 { 00021 if (sizeToCopy > 1) 00022 { 00023 sizeToCopy = (unsigned)sizeToCopy >> 1; 00024 00025 while (sizeToCopy--) { 00026 char s0 = src[0]; 00027 char s1 = src[1]; 00028 *dst++ = s1; 00029 *dst++ = s0; 00030 src = src + 2; 00031 } 00032 } 00033 } Generated on Sun May 27 2012 04:36:38 for ReactOS by
1.7.6.1
|