| 1 |
– |
/* Copyright (c) 1995 Regents of the University of California */ |
| 2 |
– |
|
| 1 |
|
#ifndef lint |
| 2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
| 2 |
> |
static const char RCSid[] = "$Id$"; |
| 3 |
|
#endif |
| 6 |
– |
|
| 4 |
|
/* |
| 5 |
|
* Read white space separated values from stream |
| 6 |
+ |
* |
| 7 |
+ |
* External symbols declared in standard.h |
| 8 |
|
*/ |
| 9 |
|
|
| 10 |
< |
#include <stdio.h> |
| 10 |
> |
#include "copyright.h" |
| 11 |
|
|
| 12 |
+ |
#include <stdio.h> |
| 13 |
|
#include <math.h> |
| 14 |
< |
|
| 14 |
> |
#include <stdlib.h> |
| 15 |
> |
#include <string.h> |
| 16 |
|
#include <ctype.h> |
| 17 |
|
|
| 18 |
< |
|
| 18 |
< |
#ifdef DCL_ATOF |
| 19 |
< |
extern double atof(); |
| 20 |
< |
#endif |
| 21 |
< |
extern int atoi(); |
| 22 |
< |
extern long atol(); |
| 23 |
< |
extern char *strcpy(); |
| 24 |
< |
|
| 18 |
> |
#include "standard.h" |
| 19 |
|
|
| 20 |
|
int |
| 21 |
|
fgetval(fp, ty, vp) /* get specified data word */ |