libmobi
C library for handling MOBI format ebook documents
|
#include "mobi.h"
Go to the source code of this file.
Functions | |
MOBI_RET | mobi_randombytes (void *buf, const size_t len) |
Write n random bytes of high quality to buf. More... | |
Copyright (c) 2021 Bartek Fabiszewski http://www.fabiszewski.net
This file is part of libmobi. Licensed under LGPL, either version 3, or any later. See http://www.gnu.org/licenses/
MOBI_RET mobi_randombytes | ( | void * | buf, |
const size_t | size | ||
) |
Write n random bytes of high quality to buf.
[in,out] | buf | Buffer to be filled with random bytes |
[in] | len | Buffer length |
Write n random bytes of high quality to buf.
[in,out] | buf | Buffer |
[in] | size | Buffer size (up to 256 bytes) |