X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/d42870d6ca7fb587b38f8cf6d6821ae33a53a696..42edfea89a47cbf0623d1aaf5673a4e5ca79fb52:/components/Linux/entropy.c diff --git a/components/Linux/entropy.c b/components/Linux/entropy.c deleted file mode 100644 index 17be270..0000000 --- a/components/Linux/entropy.c +++ /dev/null @@ -1,13 +0,0 @@ -/* See LICENSE file for copyright and license details. */ -#include - -#include "../../util.h" - -const char * -entropy(void) -{ - int num; - - return (pscanf("/proc/sys/kernel/random/entropy_avail", "%d", &num) == 1) ? - bprintf("%d", num) : NULL; -}