]>
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 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #include "OnigurumaUefiPort.h"
11 int EFIAPI
sprintf_s(char *str
, size_t sizeOfBuffer
, char const *fmt
, ...)
16 VA_START (Marker
, fmt
);
17 NumberOfPrinted
= (int)AsciiVSPrint (str
, sizeOfBuffer
, fmt
, Marker
);
20 return NumberOfPrinted
;
23 int OnigStrCmp (char* Str1
, char* Str2
)
25 return (int)AsciiStrCmp (Str1
, Str2
);