Lines Matching defs:xbuf
55 static struct exec xbuf; /* exec header of a.out */
75 fread(&xbuf, 1, sizeof(xbuf), nfile);
76 if (N_BADMAG(xbuf)) {
101 fseek(nfile, (long)(N_SYMOFF(xbuf) + xbuf.a_syms), 0);
122 fseek(nfile, (long)N_SYMOFF(xbuf), 0);
124 for (i = xbuf.a_syms; i > 0; i -= sizeof(struct nlist)) {
140 fseek(nfile, (long)N_SYMOFF(xbuf), 0);
143 for (i = xbuf.a_syms; i > 0; i -= sizeof(struct nlist)) {
175 textspace = (u_char *) malloc( xbuf.a_text );
178 xbuf.a_text );
181 (void) fseek( nfile , N_TXTOFF( xbuf ) , 0 );
182 if ( fread( textspace , 1 , xbuf.a_text , nfile ) != xbuf.a_text ) {