Bug 22395 – OpenBSD: Add more OpenBSD-specific function prototypes in string.d and unistd.d
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
Other
Creation time
2021-10-16T15:27:42Z
Last change time
2021-11-08T15:54:15Z
Keywords
pull
Assigned to
No Owner
Creator
Brian Callahan
Comments
Comment #0 by bcallah — 2021-10-16T15:27:42Z
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);
Comment #1 by dlang-bot — 2021-10-16T15:28:31Z
@ibara created dlang/druntime pull request #3590 "Fix Issue 22395 - OpenBSD: Add more OpenBSD-specific function prototypes in string.d and unistd.d" fixing this issue:
- Fix Issue 22395 - OpenBSD: Add more OpenBSD-specific function prototypes in string.d and unistd.d
https://github.com/dlang/druntime/pull/3590
dlang/druntime pull request #3615 "Merge `stable` in `mater`" was merged into master:
- f4a2a96355368461e3d1c8d51e00bf759360cc4c by Brian Callahan:
Fix Issue 22395 - OpenBSD: Add more OpenBSD-specific function prototypes in string.d and unistd.d
https://github.com/dlang/druntime/pull/3615