LAPACK  3.10.1
LAPACK: Linear Algebra PACKage

◆ F77_xerbla_base()

void F77_xerbla_base ( char *  srname,
void *  vinfo 
)

Definition at line 13 of file xerbla.c.

23 {
24 #ifdef F77_CHAR
25  char *srname;
26 #endif
27 
28  char rout[] = {'c','b','l','a','s','_','\0','\0','\0','\0','\0','\0','\0'};
29 
30  int *info=vinfo;
31  int i;
32 
33  extern int CBLAS_CallFromC;
34 
35 #ifdef F77_CHAR
36  srname = F2C_STR(F77_srname, XerblaStrLen);
37 #endif
38 
39  if (CBLAS_CallFromC)
40  {
41  for(i=0; i != XerblaStrLen; i++) rout[i+6] = tolower(srname[i]);
42  rout[XerblaStrLen+6] = '\0';
43  cblas_xerbla(*info+1,rout,"");
44  }
45  else
46  {
47  fprintf(stderr, "Parameter %d to routine %s was incorrect\n",
48  *info, srname);
49  }
50 }
void cblas_xerbla(CBLAS_INT p, const char *rout, const char *form,...)
Definition: cblas_xerbla.c:12
int CBLAS_CallFromC
Definition: cblas_globals.c:1
#define XerblaStrLen
Definition: xerbla.c:6
Here is the call graph for this function: