https://issues.dlang.org/show_bug.cgi?id=22395
Issue ID: 22395
Summary: OpenBSD: Add more OpenBSD-specific function prototypes
in string.d and unistd.d
Product: D
Version: D2
Hardware: All
OS: Other
Status: NEW
Severity: enhancement
Priority: P1
Component: druntime
Assignee: [email protected]
Reporter: [email protected]
I'd like to add the following prototypes to the OpenBSD string.d:
void explicit_bzero(void*, size_t);
void* memrchr(scope const void*, int, size_t);
size_t strlcat(char*, scope const char*, size_t);
size_t strlcpy(char*, scope const char*, size_t);
void strmode(int, char*);
char* strsep(char**, scope const char*);
And the OpenBSD unistd.d:
int getentropy(void*, size_t);
--