Fix Issue 23980 - OpenBSD: Add getthrname(2) and setthrname(2) to unistd.d

This commit is contained in:
Brian Callahan 2023-06-08 17:30:44 -04:00 committed by The Dlang Bot
parent 7643dc6041
commit 2772261adb

View file

@ -12,6 +12,10 @@ extern (C):
nothrow:
@nogc:
public import core.sys.posix.sys.types;
int getentropy(void*, size_t);
int getthrname(pid_t, char*, size_t);
int pledge(const scope char*, const scope char*);
int setthrname(pid_t, const scope char*);
int unveil(const scope char*, const scope char*);