10 |
|
#include "copyright.h" |
11 |
|
|
12 |
|
#include <ctype.h> |
13 |
+ |
#include <string.h> |
14 |
|
|
15 |
|
#include "standard.h" |
16 |
|
#include "rtprocess.h" /* Windows: must come before color.h */ |
278 |
|
fputnow(stdout); |
279 |
|
/* run pictures */ |
280 |
|
do { |
281 |
< |
bzero((char *)ourzbuf, hresolu*vresolu*sizeof(float)); |
281 |
> |
memset((char *)ourzbuf, '\0', hresolu*vresolu*sizeof(float)); |
282 |
|
for (i = an; i < argc; i += 2) |
283 |
|
addpicture(argv[i], argv[i+1]); |
284 |
|
if (fillo&F_BACK) /* fill in spaces */ |
962 |
|
continue; |
963 |
|
} |
964 |
|
if (averaging) |
965 |
< |
bzero(sscan(y)[x], sizeof(COLOR)); |
965 |
> |
memset(sscan(y)[x], '\0', sizeof(COLOR)); |
966 |
|
else |
967 |
< |
bzero(pscan(y)[x], sizeof(COLR)); |
967 |
> |
memset(pscan(y)[x], '\0', sizeof(COLR)); |
968 |
|
zscan(y)[x] = 0.0; |
969 |
|
} |
970 |
|
} |
1168 |
|
*fbp++ = dir[0]; *fbp++ = dir[1]; *fbp++ = dir[2]; |
1169 |
|
} |
1170 |
|
/* mark end and get results */ |
1171 |
< |
bzero((char *)fbp, 6*sizeof(float)); |
1171 |
> |
memset((char *)fbp, '\0', 6*sizeof(float)); |
1172 |
|
if (process(&PDesc, (char *)fbuf, (char *)fbuf, |
1173 |
|
4*sizeof(float)*(queuesiz+1), |
1174 |
|
6*sizeof(float)*(queuesiz+1)) != |