2 * Copyright (c) 1995 Ugen J.S.Antsilevich
4 * Redistribution and use in source forms, with and without modification,
5 * are permitted provided that this entire comment appears intact.
7 * Redistribution in binary form may occur without any restrictions.
8 * Obviously, it would be nice if you gave credit where credit is due
9 * but requiring it would be too onerous.
11 * This software is provided ``AS IS'' without any warranties of any kind.
22 #include <sys/types.h>
24 #include <sys/ioccom.h>
27 * These are snoop io controls
28 * SNPSTTY accepts 'struct snptty' as input.
29 * If ever type or unit set to -1,snoop device
30 * detached from its current tty.
33 #define SNPSTTY _IOW('T', 90, dev_t)
34 #define SNPGTTY _IOR('T', 89, dev_t)
37 * These values would be returned by FIONREAD ioctl
38 * instead of number of characters in buffer in case
42 #define SNP_TTYCLOSE -2
45 #endif /* !_SYS_SNOOP_H_ */