home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / libg++-2.5.3-src.lha / src / amiga / libg++-2.5.3 / libg++-2.5.3-amiga / libio / tests / tstdiomisc.c < prev   
C/C++ Source or Header  |  1993-12-19  |  155b  |  17 lines

  1. #include <iostdio.h>
  2.  
  3. void
  4. t1 ()
  5. {
  6.   int n = -1;
  7.   sscanf ("abc  ", "abc %n", &n);
  8.   printf ("t1: count=%d\n", n);
  9. }
  10.  
  11. int
  12. main ()
  13. {
  14.   t1 ();
  15.   return 0;
  16. }
  17.