home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d3xx / d346 / packetsupport.lha / PacketSupport / dosinhibit.c < prev    next >
C/C++ Source or Header  |  1990-04-15  |  510b  |  28 lines

  1. /*
  2.  
  3.     Packetsupport.lib
  4.     -----------------
  5.  
  6.     DOS-Packet support .lib for Lettuce C V5.04
  7.  
  8.     no © 1990 by Oliver Wagner,
  9.          Landsberge 5,
  10.          4322 Sprockhövel,
  11.          West Germany
  12.  
  13.     Use at your own risk, for everything you want!
  14.  
  15.     long dosinhibit(devicename, inhibit)
  16.     -> send packet Inhibit to device proc with
  17.        name "devicename"
  18.  
  19. */
  20.  
  21. #include <proto/dos.h>
  22. #include "packetsupport.h"
  23.  
  24. long dosinhibit(char *devname,long flag)
  25. {
  26.     return(sendpacket(DeviceProc(devname),ACTION_INHIBIT,flag));
  27. }
  28.