# define RN (((off_t) rand() << 16) | (off_t) rand())
* Get a valid word out of the dictionary file
fseek(inf
, abs(RN
% Dict_size
), 0);
if (fgets(Word
, BUFSIZ
, inf
) == NULL
)
if (fgets(Word
, BUFSIZ
, inf
) == NULL
)
Word
[strlen(Word
) - 1] = '\0';
if (strlen(Word
) < MINLEN
)
for (wp
= Word
; *wp
; wp
++)
* Return the absolute value of an integer