[Issue 22395] New: OpenBSD: Add more OpenBSD-specific function prototypes in string.d and unistd.d

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 16 15:27:42 UTC 2021


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: nobody at puremagic.com
          Reporter: bcallah at openbsd.org

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);

--


More information about the Digitalmars-d-bugs mailing list