2 * SPDX-License-Identifier: 0BSD
4 * Copyright (c) 1995 Ugen J.S.Antsilevich
6 * Redistribution and use in source forms, with and without modification,
7 * are permitted provided that this entire comment appears intact.
9 * Redistribution in binary form may occur without any restrictions.
10 * Obviously, it would be nice if you gave credit where credit is due
11 * but requiring it would be too onerous.
13 * This software is provided ``AS IS'' without any warranties of any kind.
24 #include <sys/types.h>
26 #include <sys/ioccom.h>
29 * These are snoop io controls
30 * SNPSTTY accepts a file descriptor as input.
33 #define SNPSTTY _IOW('T', 90, int)
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_ */