vbox的更動 890 路徑 trunk/src/VBox/Runtime/include
- 時間撮記:
- 2007-2-14 上午09:35:02 (18 年 以前)
- 檔案:
-
- 複製 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Runtime/include/internal/rand.h
r839 r890 1 1 /* $Id$ */ 2 2 /** @file 3 * InnoTek Portable Runtime - Internal RT Timeheader3 * InnoTek Portable Runtime - Internal RTRand header 4 4 */ 5 5 … … 20 20 */ 21 21 22 #ifndef __internal_ time_h__23 #define __internal_ time_h__22 #ifndef __internal_rand_h__ 23 #define __internal_rand_h__ 24 24 25 25 #include <iprt/types.h> … … 27 27 __BEGIN_DECLS 28 28 29 #ifdef IN_RING3 29 /** 30 * Initialize OS facilities for generating random bytes. 31 */ 32 void rtRandLazyInitNative(void); 30 33 31 extern uint64_t g_u64ProgramStartNanoTS; 32 extern uint64_t g_u64ProgramStartMilliTS; 34 /** 35 * Generate random bytes using OS facilities. 36 * 37 * @returns VINF_SUCCESS on success, some error status code on failure. 38 * @param pv Where to store the random bytes. 39 * @param cb How many random bytes to store. 40 */ 41 int rtRandGenBytesNative(void *pv, size_t cb); 33 42 34 #endif 43 void rtRandGenBytesFallback(void *pv, size_t cb); 35 44 36 45 __END_DECLS
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器