Rizin
unix-like reverse engineering framework and cli tools
nonrandomopen.c File Reference
#include <string.h>
#include "zipint.h"

Go to the source code of this file.

Functions

bool zip_secure_random (zip_uint8_t *buffer, zip_uint16_t length)
 

Function Documentation

◆ zip_secure_random()

bool zip_secure_random ( zip_uint8_t buffer,
zip_uint16_t  length 
)

Definition at line 40 of file nonrandomopen.c.

40  {
41  memset(buffer, 0, length);
42 
43  return true;
44 }
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void length
Definition: sflib.h:133
return memset(p, 0, total)
Definition: buffer.h:15

References length, and memset().