Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: jb-mr1
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (18 sloc) 0.629 kb
// 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_
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
// Note this *should* be in "namespace base" but the function is needed
// from C so namespaces cannot be used.
// 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_ */
Jump to Line
Something went wrong with that request. Please try again.