xref: /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/openbsd/unistd.d (revision 0a3071956a3a9fdebdbf7f338cf2d439b45fc728)
1 /**
2   * D header file for OpenBSD unistd.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: Brian Callahan
7   */
8 module core.sys.openbsd.unistd;
9 
10 version (OpenBSD):
11 extern (C):
12 nothrow:
13 @nogc:
14 
15 int getentropy(void*, size_t);
16 int pledge(const scope char*, const scope char*);
17 int unveil(const scope char*, const scope char*);
18