Mercurial > hg > minc-tools
view libsrc/read_file_names.h @ 2629:9d489fbf4e7b
* added mincpik to files that are autogenerated with version numbers
author | Andrew L Janke <a.janke@gmail.com> |
---|---|
date | Mon, 12 Mar 2012 14:14:10 +1000 |
parents | 4b26fb8b776c |
children |
line wrap: on
line source
/* ----------------------------- MNI Header ----------------------------------- @NAME : read_file_names @INPUT : filelist - name of file from which to read names @OUTPUT : num_files - number of files read in @RETURNS : Pointer to a NULL-terminated array of file names @DESCRIPTION: Reads in a list of file names from file filelist or stdin if "-" is specified. Returns NULL if an error occurs. If no error occurs, then a pointer to an empty array is returned and num_files is zero. @METHOD : @GLOBALS : @CALLS : @CREATED : March 8, 1995 (Peter Neelin) @MODIFIED : ---------------------------------------------------------------------------- */ char **read_file_names(char *filelist, int *num_files);