Searched refs:magic_buf (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/sgs/libelf/misc/ |
H A D | nlist.c | 48 #define ISELF (strncmp(magic_buf, ELFMAG, SELFMAG) == 0) 129 char magic_buf[EI_NIDENT]; local 142 if (read(fd, magic_buf, EI_NIDENT) == -1) { 153 if (ISELF && (magic_buf[EI_CLASS] == ELFCLASS32))
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | nlist.c | 69 #define ISELF (strncmp(magic_buf, ELFMAG, SELFMAG) == 0) 96 char magic_buf[EI_NIDENT+1]; local 109 if (read(fd, magic_buf, (size_t)EI_NIDENT) == -1) { 113 magic_buf[EI_NIDENT] = '\0'; 124 if (magic_buf[EI_CLASS] != ELFCLASS32) { 128 encode = (unsigned)magic_buf[EI_DATA]; 129 fvers = (unsigned)magic_buf[EI_VERSION];
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj.c | 4652 uint16_t magic_buf; local 4655 if ((err = vn_rdwr(UIO_READ, vp, (caddr_t)((intptr_t)&magic_buf), 4656 sizeof (magic_buf), (offset_t)(0), 4664 if (magic_buf == CH_MAGIC_GZIP)
|
Completed in 71 milliseconds