home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / HLLAPIC.ZIP / HOST.C next >
C/C++ Source or Header  |  1991-08-13  |  411b  |  22 lines

  1. /*  HOST.C
  2.     By Mark R. Schmidt
  3.  
  4.     Source file for HLLAPPI calls with OS/2 communications manager.
  5.  
  6.     Writen      06/13/1991
  7.     Last Modified 06/17/1991
  8. */
  9.  
  10. #include <string.h>
  11. #include "host.h"
  12.  
  13. int host( int funcnum, char *infostr )
  14. {
  15.     int errorcode = 0,
  16.     infolen;
  17.  
  18.     infolen = strlen( infostr );
  19.     hllapi( &funcnum, infostr, &infolen, &errorcode );
  20.     return( errorcode );
  21. }
  22.