summaryrefslogtreecommitdiff
path: root/doc/librandom
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-03-08 09:39:11 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-03-08 09:39:11 +0000
commit04905aaeffba2bc77866a4056dc3f2020a86bb26 (patch)
treef66439aeb6cfe05268824ac890169e5cd306f3f3 /doc/librandom
parenta5079576ae9007fb1ca7ebcc911b5fb035cd2d06 (diff)
downloadskalibs-04905aaeffba2bc77866a4056dc3f2020a86bb26.tar.xz
Update documentation for the types change, with some extra fixes
Also remove --enable-replace-libc from configure
Diffstat (limited to 'doc/librandom')
-rw-r--r--doc/librandom/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/librandom/index.html b/doc/librandom/index.html
index 26669fa..e431c57 100644
--- a/doc/librandom/index.html
+++ b/doc/librandom/index.html
@@ -46,7 +46,7 @@ function prototypes.
unsigned char c ;
uint32_t max ;
uint32_t n ;
- unsigned int b ;
+ size_t b ;
char data[at least b] ;
int r ;
@@ -88,7 +88,7 @@ Bytes are not permuted inside chunks.
</p>
<p>
-<code> void random_name (char *s, unsigned int n) </code> <br />
+<code> void random_name (char *s, size_t n) </code> <br />
Writes <em>n</em> random readable ASCII characters into <em>s</em>:
letters, numbers, hyphens or underscores. Does not terminate with a
null character.