]>
git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/OnigurumaUefiPort.c
98822f3648b6661ebc20bcd46f2fcb2771d4b8b0
3 Module to rewrite stdlib references within Oniguruma
5 Copyright (c) 2014-2015, Hewlett-Packard Development Company, L.P.<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 sprintf(char *str
, char const *fmt
, ...)
22 VA_START (Marker
, fmt
);
23 NumberOfPrinted
= (int)AsciiVSPrint (str
, 1000000, fmt
, Marker
);
26 return NumberOfPrinted
;
29 int OnigStrCmp (char* Str1
, char* Str2
)
31 return (int)AsciiStrCmp (Str1
, Str2
);