xref: /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/openbsd/stdlib.d (revision 0a3071956a3a9fdebdbf7f338cf2d439b45fc728)
1 /**
2   * D header file for OpenBSD stdlib.h.
3   *
4   * Copyright: Copyright © 2021, The D Language Foundation
5   * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
6   * Authors: Iain Buclaw
7   */
8 module core.sys.openbsd.stdlib;
9 public import core.sys.posix.stdlib;
10 
11 version (OpenBSD):
12 extern (C):
13 nothrow:
14 @nogc:
15 
16 void freezero(void*, size_t);
17 void* calloc_conceal(size_t, size_t);
18 void* malloc_conceal(size_t);
19 void* reallocarray(void*, size_t, size_t);
20 void* recallocarray(void*, size_t, size_t, size_t);
21 
22 const(char)* getprogname();
23 void setprogname(scope const char*);
24