Ruby: internal/random.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Functions
random.h File Reference

Internal header for Random. More...

`#include <stddef.h>`

Go to the source code of this file.

## Functions
int | ruby_fill_random_bytes (void *, size_t, int)

## Detailed Description

Internal header for Random.

Author
  Ruby developers ruby-.nosp@m.core.nosp@m.@ruby.nosp@m.-lan.nosp@m.g.org

Copyright
  This file is a part of the programming language Ruby. Permission is hereby granted, to either redistribute and/or modify this file, provided that the conditions mentioned in the file COPYING are met. Consult the file for details.

Definition in file random.h.

## Function Documentation

## ◆ ruby_fill_random_bytes()

int ruby_fill_random_bytes | ( | void * | seed,
|  | size_t | size,
|  | int | need_secure
| ) |  |

Definition at line 575 of file random.c.

References fill_random_bytes_syscall, and fill_random_bytes_urandom.