llvm-capstone/libc/include/stdlib.h.def
Michael Jones 38b6f58e33 [libc] implement basic rand and srand
This provides the reference implementation of rand and srand. In future
this will likely be upgraded to something that supports full ints.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D135187
2022-10-04 13:31:26 -07:00

18 lines
547 B
Modula-2

//===-- C standard library header stdlib.h --------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBC_STDLIB_H
#define LLVM_LIBC_STDLIB_H
#include <__llvm-libc-common.h>
#include <llvm-libc-macros/stdlib-macros.h>
%%public_api()
#endif // LLVM_LIBC_STDLIB_H