OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [gnu-encoding/] [generate-random.h] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 704 jeremybenn
/* Copyright (C) 2004 Free Software Foundation
2
 
3
   The GNU C Library is free software; you can redistribute it and/or
4
   modify it under the terms of the GNU Lesser General Public
5
   License as published by the Free Software Foundation; either
6
   version 2.1 of the License, or (at your option) any later version.
7
 
8
   The GNU C Library is distributed in the hope that it will be useful,
9
   but WITHOUT ANY WARRANTY; without even the implied warranty of
10
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11
   Lesser General Public License for more details.
12
 
13
   You should have received a copy of the GNU Lesser General Public
14
   License along with the GNU C Library; if not, write to the Free
15
   Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16
   02110-1301 USA.  */
17
 
18
struct generate_random_data
19
  {
20
    int *fptr, *rptr, *state;
21
    int rand_type, rand_deg, rand_sep;
22
    int *end_ptr;
23
  };
24
 
25
extern void generate_srandom (unsigned int);
26
extern char *generate_initstate (unsigned int, char *, size_t);
27
extern char *generate_setstate (char *);
28
extern long int generate_random (void);
29
extern int generate_random_r (struct generate_random_data *, int *);
30
extern int generate_srandom_r (unsigned int, struct generate_random_data *);
31
extern int generate_initstate_r (unsigned int, char *, size_t,
32
                                 struct generate_random_data *);
33
extern int generate_setstate_r (char *, struct generate_random_data *);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.