projects
/
unix-history
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
date and time created 80/10/31 14:45:07 by mckusick
[unix-history]
/
usr
/
src
/
usr.bin
/
pascal
/
libpc
/
SEED.c
Commit
Line
Data
14a8b446
KM
1
/* Copyright (c) 1979 Regents of the University of California */
2
3
static char sccsid[] = "@(#)SEED.c 1.1 %G%";
4
5
SEED(value)
6
7
long value;
8
{
9
static long seed;
10
long tmp;
11
12
srand(value);
13
tmp = seed;
14
seed = value;
15
return tmp;
16
}