arudradey's picture
download
raw
497 Bytes
#ifdef __cplusplus
extern "C" {
#endif
// This is used by libc++ as an efficient way to get high-quality random data
// (more efficiently than via the filesystem using /dev/urandom).
// Upstream musl added support for this, so we can switch to that, but it isn't
// where libc++ looks for it (which is here and not unistd.h), and it uses a
// syscall which is unnecessary indirection for us.
int getentropy(void *buffer, size_t length);
#include_next <sys/random.h>
#ifdef __cplusplus
}
#endif

Xet Storage Details

Size:
497 Bytes
·
Xet hash:
892580936fe0a95f9cae58eb6285d2b8efc1fb59b455731dd34b12754458e25d

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.