home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / gnu / libnix-0.8-src.lha / libnix-0.8 / sources / nix / stdlib / system.c < prev   
Encoding:
C/C++ Source or Header  |  1994-12-12  |  282 b   |  15 lines

  1. #include <utility/TagItem.h>
  2. #include <dos/dos.h>
  3. #ifdef __GNUC__
  4. #include <inline/dos.h>
  5. #endif
  6.  
  7. static struct TagItem list[]={ { TAG_END,0 } }; /* No Tags */
  8.  
  9. int system(const char *string)
  10. { if(string==NULL)
  11.     return 1;
  12.   else
  13.     return SystemTagList((char *)string,list); 
  14. }
  15.