]>
git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/OnigurumaUefiPort.c
3 Module to rewrite stdlib references within Oniguruma
5 (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP<BR>
7 This program and the accompanying materials are licensed and made available
8 under the terms and conditions of the BSD License that accompanies this
9 distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php.
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT
13 WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #include "OnigurumaUefiPort.h"
17 int EFIAPI
sprintf_s(char *str
, size_t sizeOfBuffer
, char const *fmt
, ...)
22 VA_START (Marker
, fmt
);
23 NumberOfPrinted
= (int)AsciiVSPrint (str
, sizeOfBuffer
, fmt
, Marker
);
26 return NumberOfPrinted
;
29 int OnigStrCmp (char* Str1
, char* Str2
)
31 return (int)AsciiStrCmp (Str1
, Str2
);