18 double zeroVal, *zeroValP;
27 for (col = nofCols; col--;)
28 if (!xdr_double(xdrs, zeroValP)) {
30 (
"G_random_d_initialize_0: xdr_double failed for index %d.\n",
35 for (row = 0; row < nofRows; row++)
37 G_warning(
"G_random_d_initialize_0: write failed in row %d.\n",
58 float zeroVal, *zeroValP;
68 for (col = nofCols; col--;)
69 if (!xdr_float(xdrs, zeroValP)) {
71 (
"G_random_f_initialize_0: xdr_float failed for index %d.\n",
76 for (row = 0; row < nofRows; row++)
78 G_warning(
"G_random_f_initialize_0: write failed in row %d.\n",
int G__random_f_initialize_0(int fd, int nofRows, int nofCols)
int G__write_data(int fd, int row, int n)
int G__random_d_initialize_0(int fd, int nofRows, int nofCols)
struct fileinfo * fileinfo
G_warning("category support for [%s] in mapset [%s] %s", name, mapset, type)