OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getentropy
(Results
1 - 6
of
6
) sorted by relevancy
/src/lib/libc/gen/
getentropy.c
1
/* $NetBSD:
getentropy
.c,v 1.3 2022/05/31 13:42:59 riastradh Exp $ */
33
__RCSID("$NetBSD:
getentropy
.c,v 1.3 2022/05/31 13:42:59 riastradh Exp $");
45
__weak_alias(
getentropy
,_getentropy)
51
getentropy
(void *buf, size_t buflen)
function in typeref:typename:int
Makefile.inc
18
getdevmajor.c getdomainname.c
getentropy
.c getgrent.c \
67
getdomainname.3 getdiskbyname.3
getentropy
.3 getfsent.3 \
/src/tests/lib/libc/gen/
t_getentropy.c
49
atf_tc_set_md_var(tc, "descr", "
getentropy
0 bytes");
56
if (
getentropy
(buf, 0) == -1)
57
atf_tc_fail("
getentropy
: %d (%s)", errno, strerror(errno));
64
atf_tc_set_md_var(tc, "descr", "
getentropy
32 bytes");
71
if (
getentropy
(buf + 1, 32) == -1)
72
atf_tc_fail("
getentropy
: %d (%s)", errno, strerror(errno));
81
atf_tc_set_md_var(tc, "descr", "
getentropy
256 bytes");
88
if (
getentropy
(buf + 1, 256) == -1)
89
atf_tc_fail("
getentropy
: %d (%s)", errno, strerror(errno));
98
atf_tc_set_md_var(tc, "descr", "
getentropy
257 bytes (beyond max)")
[
all
...]
/src/include/
unistd.h
328
int
getentropy
(void *, size_t);
/src/lib/libc/include/
namespace.h
368
#define
getentropy
_getentropy
macro
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_linux.cc
2082
uptr rnd =
getentropy
(buffer, length);
Completed in 19 milliseconds
Indexes created Mon Oct 13 05:10:05 GMT 2025