NAME
append_word_list - Adds a word to the end of a word list
SYNOPSIS
#include "l/l_word_list.h"
Example compile flags (system dependent):
-DLINUX_386 -DLINUX_386_P4
-I/home/kobus/include
-L/home/kobus/load/linux_386_p4 -L/usr/local/lib -L/usr/lib
-lKJB -llapack -lblas -lg2c -lXext -lX11
int append_word_list
(
Word_list **word_list_ptr_ptr,
const char *word
);
DESCRIPTION
The routine adds a word to the end of a word list, as defined by the first
NULL pointer encountered. If the word list pointed to by the first argument
has no NULLs, then its size is increased without changing its contents, at
which point the append will succeed. The word list pointed to by the first
argument can be NULL.
RETURNS
NO_ERROR on success, and ERROR on failure, with an appropriate error
message being set.
strings, word lists
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTOR
Kobus Barnard
SEE ALSO
get_target_word_list
,
ra_get_target_word_list
,
free_word_list
,
select_from_word_list
,
copy_word_list
,
search_word_list
,
concat_word_lists
,
read_word_list
,
fp_read_word_list
,
sget_word_list
,
write_word_list
,
fp_write_word_list