Home
last modified time | relevance | path

Searched refs:magicbuf (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/cmd/file/
H A Dfile.c102 static char *magicbuf; variable
380 if ((magicbuf = malloc(maxmagicoffset)) == NULL) { in main()
550 if ((mread = pread(ifd, (void*)magicbuf, (size_t)maxmagicoffset, in type()
565 switch (f_ckmtab(magicbuf, mread, 1)) { in type()
670 switch (f_ckmtab(magicbuf, mread, 0)) { in def_position_tests()
685 if (magicbuf[0] == '%' && magicbuf[1] == '!') { in def_position_tests()