#include "stdio.h"
Go to the source code of this file.
|
static char | rcs_ident [] = "$Header: bread.c,v 2.3 86/06/18 11:46:19 thomas Exp $" |
|
bread |
( |
char * |
ptr, |
|
|
unsigned |
size, |
|
|
FILE * |
iop |
|
) |
| |
Definition at line 26 of file bread.c.
31 register unsigned ndone,
s;
37 if ( iop->_cnt >= ndone )
45 case sizeof(short): *(
short *)
ptr = *(
short *)iop->_ptr;
47 case sizeof(
long): *(
long *)
ptr = *(
int *)iop->_ptr;
51 asm(
" movl 4(r10),r0");
52 asm(
" movc3 r9,(r0),(r11)");
54 bcopy( iop->_ptr,
ptr, ndone );
64 if ((c = _filbuf(iop)) == EOF)
65 return (
size - ndone) ;
78 asm(
" movl 4(r10),r0");
79 asm(
" movc3 r8,(r0),(r11)");
char rcs_ident[] = "$Header: bread.c,v 2.3 86/06/18 11:46:19 thomas Exp $" |
|
static |