diff options
author | ume <ume@FreeBSD.org> | 2006-05-21 11:22:31 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2006-05-21 11:22:31 +0000 |
commit | c49929798600cc98625b30e672dfe77235791a07 (patch) | |
tree | a82b4c284a5ddf2b821903c9504a21a50b34beb7 /lib/libc/stdlib/rand.c | |
parent | 2103e7a60f93b5663802fad9b458412411640d7c (diff) | |
download | FreeBSD-src-c49929798600cc98625b30e672dfe77235791a07.zip FreeBSD-src-c49929798600cc98625b30e672dfe77235791a07.tar.gz |
Return EAI_OVERFLOW instead of EAI_MEMORY when the supplied buffer is
too short. This conforms to RFC3493, POSIX and XPG6.
Obtained from: NetBSD
Diffstat (limited to 'lib/libc/stdlib/rand.c')
0 files changed, 0 insertions, 0 deletions