Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

rand.c File Reference

#include "config.h"
#include <sys/types.h>
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "dnet.h"
#include "mod.h"

Go to the source code of this file.

Functions

void rand_usage (void)
int rand_main (int argc, char *argv[])

Variables

mod mod_rand


Function Documentation

int rand_main int  argc,
char *  argv[]
 

Definition at line 29 of file rand.c.

References err(), NULL, rand_get(), rand_open(), and rand_usage().

void rand_usage void   ) 
 

Definition at line 22 of file rand.c.

Referenced by rand_main().


Variable Documentation

struct mod mod_rand
 

Initial value:

 {
        "rand",
        MOD_TYPE_DATA,
        rand_main
}

Definition at line 56 of file rand.c.


Generated on Sun May 14 14:51:22 2006 by  doxygen 1.4.2