home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d110 / pdc.lha / Pdc / lib / POSTER.xprintf < prev    next >
Text File  |  1987-10-28  |  1KB  |  38 lines

  1. Message: 328363, 93 lines 
  2. Posted: 11:03pm PDT, Sat Sep 20/86, imported: 2:25pm PDT, Sun Sep 21/86 
  3. Subject: network news article 
  4. To: Info-amiga 
  5. From: root@sfulccr.UUCP 
  6.   
  7. Relay-Version: version B 2.10.2 9/18/84 SMI; site fornax.uucp 
  8. Path: fornax!ubc-vision!alberta!ihnp4!cbatt!cbosgd!ucbvax!CORY.BERKELEY.EDU!dillon 
  9. From: dillon@CORY.BERKELEY.EDU (Matt Dillon) 
  10. Newsgroups: net.micro.amiga 
  11. Subject: fprintf() xprintf() source 
  12. Message-ID: <8609200834.AA08385@cory.Berkeley.EDU> 
  13. Date: 20 Sep 86 08:34:12 GMT 
  14. Sender: daemon@ucbvax.BERKELEY.EDU 
  15. Organization: University of California at Berkeley 
  16. Lines: 82 
  17.  
  18. Here are two printf() calls.  fprintf() for FILE HANDLES, and 
  19. xprintf() for XSTDIO FILE POINTERS.  (These calls will also exist in 
  20. the next revision of MY.LIB).  
  21.  
  22. If anything it's another example of assembly programming: library calls, 
  23. C<->Assembly interfacing, and stack manipulation.  The program is almost 
  24. completely self contained (except for calls to xwrite(), Write(), and 
  25. RawDoFmt()) 
  26.  
  27. It even has comments! 
  28.  
  29. In anycase, it should be a boon for those of you who need a ?printf()... 
  30. you can adapt it to almost anything. 
  31.  
  32.                 "Defense Computer... they say it got smart" 
  33.  
  34.                 -Matt 
  35.  
  36.  
  37.  
  38.