Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pal_memory.h « System.Native « Unix « Native « libraries « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 83fc2f2f9f48a0244daf817997cfbee12353f775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

#pragma once

#include "pal_compiler.h"
#include "pal_types.h"

/**
 * C runtime malloc
 */
PALEXPORT void* SystemNative_MemAlloc(uintptr_t size);

/**
 * C runtime realloc
 */
PALEXPORT void* SystemNative_MemReAlloc(void* ptr, uintptr_t size);

/**
 * C runtime free
 */
PALEXPORT void SystemNative_MemFree(void* ptr);

/**
 * C runtime memset
 */
PALEXPORT void* SystemNative_MemSet(void* s, int c, uintptr_t n);