#include "../../routines/machine.h"Include dependency graph for ex16c.c:

Go to the source code of this file.
Functions | |
| int F2C() | ext16ca (int *ar, int *m, int *n) |
| int F2C() | ext16cb (int *ar1, int *ar2, int *m, int *n) |
| int F2C() | ext16ce (int **ar1, int *m, int *n, int *err) |
Definition at line 36 of file ex16c.c.
References err, i, j, m, malloc(), n, and sciprint().
00039 { 00040 int i,j; 00041 *n=2; 00042 *m=3; 00043 *ar1 = (int *) malloc((unsigned) (*m)*(*n)*sizeof(int)); 00044 if ( *ar1 == (int*) 0) 00045 { 00046 *err=1; 00047 sciprint("No more space\r\n"); 00048 return; 00049 } 00050 *err=0; 00051 for ( i = 0; i < (*n) ; i++) 00052 for ( j = 0; j < (*m) ; j++) 00053 (*ar1)[i+(*n)*j] = i ; 00054 }
Here is the call graph for this function:

1.5.1