Testing to see if a file is ASCII
geoff at ISM780.UUCP
geoff at ISM780.UUCP
Fri Sep 13 23:58:00 AEST 1985
de at dcl-cs asks:
> ... what the other values represent ?
> switch ((c | *f->_ptr << 8) & 0177777) {
> case 0405:
> case 0407: /*magic number*/
> case 0410: /*magic number*/
> case 0411:
> case 0413: /*magic number*/
These other values are also magic numbers. I suspect they're for pdp11
executables, but they might have other applications.
0405 "Old overlay"
0411 "Separate I&D"
Geoffrey Kimbrough -- Director of Dangerous Activities
INTERACTIVE Systems Corporation, Santa Monica California.
{decvax!vortex || ihnp4!allegra!ima}!ism780!geoff
Nothing works, and nobody cares. -- Woody Allen
More information about the Comp.unix
mailing list