1// Copyright 2016 The Fuchsia Authors 2// Copyright (c) 2008-2014 Travis Geiselbrecht 3// 4// Use of this source code is governed by a MIT-style 5// license that can be found in the LICENSE file or at 6// https://opensource.org/licenses/MIT 7 8#pragma once 9 10#include <zircon/compiler.h> 11#include <sys/types.h> 12 13__BEGIN_CDECLS 14 15#define RAND_MAX (0x7fffffff) 16 17int rand(void); 18void srand(unsigned int seed); 19 20__END_CDECLS 21