Functions | Variables
test-random.c File Reference
#include "uv.h"
#include "task.h"
#include <string.h>
Include dependency graph for test-random.c:

Go to the source code of this file.

Functions

static void random_cb (uv_random_t *req, int status, void *buf, size_t buflen)
 
 TEST_IMPL (random_async)
 
 TEST_IMPL (random_sync)
 

Variables

static int random_cb_called
 
static char scratch [256]
 

Function Documentation

◆ random_cb()

static void random_cb ( uv_random_t req,
int  status,
void *  buf,
size_t  buflen 
)
static

Definition at line 31 of file test-random.c.

◆ TEST_IMPL() [1/2]

TEST_IMPL ( random_async  )

Definition at line 52 of file test-random.c.

◆ TEST_IMPL() [2/2]

TEST_IMPL ( random_sync  )

Definition at line 78 of file test-random.c.

Variable Documentation

◆ random_cb_called

int random_cb_called
static

Definition at line 28 of file test-random.c.

◆ scratch

char scratch[256]
static

Definition at line 27 of file test-random.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:33