Back to index

courier  0.68.2
Functions
random128alpha.c File Reference
#include <ctype.h>
#include <string.h>
#include "random128.h"

Go to the source code of this file.

Functions

const char * random128_alpha ()

Function Documentation

const char* random128_alpha ( )

Definition at line 18 of file random128alpha.c.

{
static char randombuf[ 128 / 8 * 2 + 1];
char *p;

       strcpy(randombuf, random128());

       for (p=randombuf; *p; p++)
              if ( isdigit((int)(unsigned char)*p))
                     *p= "GHIJKLMNOP"[ *p - '0' ];
       return (randombuf);
}

Here is the call graph for this function: