NAME

check_config_sub_dir - Checks validity of a config sub dir

SYNOPSIS

#include "l/l_config.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


int check_config_sub_dir(const char *sub_dir);

DESCRIPTION

Checks that there is a configuration sub-directory in one of the places which will be searched if this sub-directory is later used as part of a configuration file specification.

RETURNS

Either NO_ERROR if the sub dir is valid, and ERROR if it is not.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Kobus Barnard

DOCUMENTER

Kobus Barnard

SEE ALSO

read_dbl_from_config_file , open_config_file , get_config_file