Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenstrxfrm.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 #if 1 00014 /* 00015 * @implemented 00016 */ 00017 size_t strxfrm( char *dest, const char *src, size_t n ) 00018 { 00019 strncpy(dest, src, n); 00020 return (strlen(dest)); 00021 } 00022 #else 00023 size_t strxfrm( char *dest, const char *src, size_t n ) 00024 { 00025 int ret = LCMapStringA(LOCALE_USER_DEFAULT,LCMAP_LOWERCASE, 00026 src, strlen(src), dest, strlen(dest)); 00027 00028 if ( ret == 0 ) 00029 return -1; 00030 return ret; 00031 00032 } 00033 #endif Generated on Sun May 27 2012 04:36:46 for ReactOS by
1.7.6.1
|