]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - stdlib/getentropy.c
Regenerate libc.pot
[thirdparty/glibc.git] / stdlib / getentropy.c
index 32a24c7633ff73facc120559052be6c9926f8c42..cb70d0f457f694ca36c06fa3816289b40e6dc14c 100644 (file)
@@ -1,5 +1,5 @@
 /* Stub for getentropy.
-   Copyright (C) 2016 Free Software Foundation, Inc.
+   Copyright (C) 2016-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <sys/random.h>
 #include <errno.h>
 
 /* Write LENGTH bytes of randomness starting at BUFFER.  Return 0 on
    success and -1 on failure.  */
-ssize_t
+int
 getentropy (void *buffer, size_t length)
 {
   __set_errno (ENOSYS);