system/src/newlib/_syscalls.c
/* fh, is a valid internal file handle.
 Returns the number of bytes *not* written. */
fh, is a valid internal file handle.
Returns the number of bytes *not* written.
fh is a valid internal file handle . Returns the number of bytes * not * written .
int
_swiwrite (int fh, char* ptr, int len)
{
  int block[3];
  block[0] = fh;
  block[1] = (int) ptr;
  block[2] = len;
  return checkerror (call_host (SEMIHOSTING_SYS_WRITE, block));
}
int _swiwrite ( int fh , char * ptr , int len ) { int block [ 3 ] ; block [ 0 ] = fh ; block [ 1 ] = ( int ) ptr ; block [ 2 ] = len ; return checkerror ( call_host ( SEMIHOSTING_SYS_WRITE , block ) ) ; }
fh, is a valid internal file handle.
fh is a valid internal file handle .