blob: 5a0bf739b9bb7c647616fe336da88451fe6d53cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_RAND_UTIL_C_H_
#define BASE_RAND_UTIL_C_H_
#ifdef __cplusplus
extern "C" {
#endif
// Returns an FD for /dev/urandom, possibly pre-opened before sandboxing
// was switched on. This is a C function so that Native Client can use it.
int GetUrandomFD(void);
#ifdef __cplusplus
}
#endif
#endif /* BASE_RAND_UTIL_C_H_ */
|