/* GAUSS - A System for Least Squares and Robust Estimation Source Code Copyright (C) 1987 by William H. Jefferys, Michael J. Fitzpatrick and Barbara E. McArthur All Rights Reserved. */ #define import_spp #define import_libc #define import_stdio #include #include "defines.h" #include "par2.h" /*#include "unix.h"*/ #include "strings.h" static TBNAMES tbname; char *getfitsstr(s) char *s; { short sppnam[64],sppin[128]; char string[128],*str, *strpointer, *malloc(); strupk(s,sppnam,&sxf); clgstr(sppnam,sppin,&ote); strpak(sppin,string,&ote); str = string; if ((strpointer = malloc(strlen(str)+1)) != NULL) strcpy(strpointer, str); return strpointer; } parse_dlist(s,ltype) char *s; int ltype; { short sppnam[64],outstr[64]; char fname[64], *p; int i,ilist; strupk(s,sppnam,&sxf); i = 0; ilist = clpops(sppnam); numfil = clplen(&ilist); for (i=0;i