|
LIBRARY#include <xtend/file.h> -lxtend SYNOPSISbool xt_valid_extension(const char *filename, const char *valid_ext) ARGUMENTSfilename: Name of the file to be checked valid_ext: Valid extension, not include .gz, .bz2, or .xz DESCRIPTIONVerify that the filename extension on filename is either the valid extension provided or that extension followed by a compression extension, e.g. .gz, .bz2, .xz.RETURN VALUEStrue (defined in stdbool.h) if filename has a valid extension false if notSEE ALSOgzip(1), bzip2(1), xz(1) Visit the GSP FreeBSD Man Page Interface. |