Debian Codegraph @

libphobos/libdruntime/core/sys/openbsd/unistd.d

raw
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 public import core.sys.posix.sys.types;
16
17 int getentropy(void*, size_t);
18 int getthrname(pid_t, char*, size_t);
19 int pledge(const scope char*, const scope char*);
20 int setthrname(pid_t, const scope char*);
21 int unveil(const scope char*, const scope char*);
22
23 int closefrom(int);