summaryrefslogtreecommitdiff
path: root/lib/randperm.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-08 22:22:47 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-08 22:22:47 +0000
commit73742c2566e6f8d56b3b132026ad477b9924e774 (patch)
tree823ee8f3472c0901cdcc6d662a110efc4b7ea1ae /lib/randperm.h
parentf2f8ea1001b4e29bba94b47f72d21f758e596288 (diff)
downloadcoreutils-73742c2566e6f8d56b3b132026ad477b9924e774.tar.xz
New file, introduced for shuf, sort -R, and/or shred.
Diffstat (limited to 'lib/randperm.h')
-rw-r--r--lib/randperm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/randperm.h b/lib/randperm.h
new file mode 100644
index 000000000..79bbf9fe6
--- /dev/null
+++ b/lib/randperm.h
@@ -0,0 +1,4 @@
+#include "randint.h"
+#include <stddef.h>
+size_t randperm_bound (size_t, size_t);
+size_t *randperm_new (struct randint_source *, size_t, size_t);