|
@ -33,7 +33,7 @@ |
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
.\" SUCH DAMAGE. |
|
|
.\" SUCH DAMAGE. |
|
|
.\" |
|
|
.\" |
|
|
.\" $OpenBSD: rand.3,v 1.7 2000/04/20 13:50:02 aaron Exp $ |
|
|
|
|
|
|
|
|
.\" $OpenBSD: rand.3,v 1.8 2001/05/13 23:38:02 millert Exp $ |
|
|
.\" |
|
|
.\" |
|
|
.Dd June 29, 1991 |
|
|
.Dd June 29, 1991 |
|
|
.Dt RAND 3 |
|
|
.Dt RAND 3 |
|
@ -45,7 +45,7 @@ |
|
|
.Sh SYNOPSIS |
|
|
.Sh SYNOPSIS |
|
|
.Fd #include <stdlib.h> |
|
|
.Fd #include <stdlib.h> |
|
|
.Ft void |
|
|
.Ft void |
|
|
.Fn srand "unsigned seed" |
|
|
|
|
|
|
|
|
.Fn srand "unsigned int seed" |
|
|
.Ft int |
|
|
.Ft int |
|
|
.Fn rand void |
|
|
.Fn rand void |
|
|
.Ft int |
|
|
.Ft int |
|
|