| 4 |
|
/* |
| 5 |
|
* Read white space separated values from stream |
| 6 |
|
* |
| 7 |
< |
* External symbols declared in standard.h |
| 7 |
> |
* External symbols declared in rtio.h |
| 8 |
|
*/ |
| 9 |
|
|
| 10 |
< |
#include "copyright.h" |
| 10 |
> |
#include "rtio.h" |
| 11 |
|
|
| 12 |
– |
#include <stdio.h> |
| 13 |
– |
#include <math.h> |
| 12 |
|
#include <stdlib.h> |
| 13 |
< |
#include <string.h> |
| 13 |
> |
#include <math.h> |
| 14 |
|
#include <ctype.h> |
| 15 |
|
|
| 18 |
– |
#include "standard.h" |
| 19 |
– |
|
| 16 |
|
int |
| 17 |
|
fgetval(fp, ty, vp) /* get specified data word */ |
| 18 |
|
register FILE *fp; |
| 19 |
|
int ty; |
| 20 |
< |
char *vp; |
| 20 |
> |
void *vp; /* type depends on ty */ |
| 21 |
|
{ |
| 22 |
|
char wrd[64]; |
| 23 |
|
register char *cp; |