Lines Matching full:buf
40 unsigned char buf[4];
42 if (syscall(__NR_getrandom, buf, sizeof(buf) - 1, 0) != sizeof(buf) - 1)
45 (int) buf[0], (int) buf[1], (int) buf[2]);
47 if (syscall(__NR_getrandom, buf, sizeof(buf), 1) != sizeof(buf))
50 (int) buf[0], (int) buf[1], (int) buf[2]);
52 if (syscall(__NR_getrandom, buf, sizeof(buf), 0x3003) != -1)
55 "-1 EINVAL (Invalid argument)\n", buf);