home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / oslib / Examples / p2-616 < prev    next >
Encoding:
Text File  |  1994-03-30  |  319 b   |  19 lines

  1. #include <stdio.h>
  2.  
  3. #include "econet.h"
  4.  
  5. extern econet_tx_cb Tx_Cb;
  6.  
  7. void ex1 (void)
  8.  
  9. {  printf ("The final status was %d\n", econet_abandon_transmit (Tx_Cb));
  10. }
  11.  
  12. void ex2 (void)
  13.  
  14. {  byte buf [20];
  15.  
  16.    printf ("The final status was %d\n",
  17.          econet_do_transmit (NONE, 99, 7, 0, buf, sizeof buf, 6, 100, NULL));
  18. }
  19.