File: sys-random.h

package info (click to toggle)
rdma-core 61.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,124 kB
  • sloc: ansic: 176,798; python: 15,496; sh: 2,742; perl: 1,465; makefile: 73
file content (13 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _FIXUP_SYS_RANDOM_H
#define _FIXUP_SYS_RANDOM_H

#include <sys/types.h>

/* Flags for use with getrandom. */
#define GRND_NONBLOCK 0x01

static inline ssize_t getrandom(void *buf, size_t buflen, unsigned int flags)
{
	return -1;
}
#endif