www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22395] New: OpenBSD: Add more OpenBSD-specific function


          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 puremagic.com
          Reporter: bcallah 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);

Oct 16 2021