| 5 |
|
* Holodeck display process communication |
| 6 |
|
*/ |
| 7 |
|
|
| 8 |
+ |
#include <sys/uio.h> |
| 9 |
+ |
#include <string.h> |
| 10 |
+ |
|
| 11 |
|
#include "rholo.h" |
| 12 |
|
#include "rhdisp.h" |
| 13 |
|
#include "rtprocess.h" |
| 14 |
|
|
| 12 |
– |
#include <sys/uio.h> |
| 13 |
– |
|
| 15 |
|
#ifndef HDSUF |
| 16 |
|
#define HDSUF ".hdi" |
| 17 |
|
#endif |
| 77 |
|
} |
| 78 |
|
/* write out hologram grids & octrees */ |
| 79 |
|
for (i = 0; hdlist[i] != NULL; i++) { |
| 80 |
< |
bcopy((void *)hdlist[i], buf, sizeof(HDGRID)); |
| 80 |
> |
memcpy(buf, (void *)hdlist[i], sizeof(HDGRID)); |
| 81 |
|
len = sizeof(HDGRID); |
| 82 |
|
n = vdef(GEOMETRY); |
| 83 |
|
sfn = i<n ? nvalue(GEOMETRY,i) : |