| 3273 |
|
#define MG_EMEM 8 /* out of memory */ |
| 3274 |
|
#define MG_ESEEK 9 /* file seek error */ |
| 3275 |
|
#define MG_EBADMAT 10 /* bad material specification */ |
| 3276 |
+ |
#define MG_ELINE 11 /* input line too long */ |
| 3277 |
|
|
| 3278 |
< |
#define MG_NERRS 11 |
| 3278 |
> |
#define MG_NERRS 12 |
| 3279 |
|
.DE |
| 3280 |
|
If it is inappropriate to send output to standard error, the calling |
| 3281 |
|
program should use the routines listed under |
| 3359 |
|
function reads the next input line from the current file, |
| 3360 |
|
returning the number of characters in the line, or zero if the |
| 3361 |
|
end of file is reached or there is a file error. |
| 3362 |
+ |
If the last character read in the input line is not a newline, |
| 3363 |
+ |
then the input line was too long, and you |
| 3364 |
+ |
should return an MG_ELINE error. |
| 3365 |
|
The function skips over escaped newlines, and keeps track of the |
| 3366 |
|
line number in the current file context |
| 3367 |
|
.I mg_file, |