403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Program Files (x86)/Windows Kits/10/Source/10.0.19041.0/ucrt/string/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Program Files (x86)/Windows Kits/10/Source/10.0.19041.0/ucrt/string/wcsrev.cpp
//
// wcsrev.cpp
//
//      Copyright (c) Microsoft Corporation.  All rights reserved.
//
// Defines _wcsrev(), which reverses a wide chraacter string in place.  The
// pointer to the string is returned.
//
#include <string.h>



extern "C" wchar_t* __cdecl _wcsrev(wchar_t* const string)
{
    // Find the end of the string:
    wchar_t* right = string;
    while (*right++) { }
    right -= 2;

    // Reverse the strong:
    wchar_t* left = string;
    while (left < right)
    {
        wchar_t const c = *left;
        *left++  = *right;
        *right-- = c;
    }

    return string;
}

Youez - 2016 - github.com/yon3zu
LinuXploit