ANSIfication; bug report 4.3BSD/bin/223
[unix-history] / usr / src / include / sgtty.h
index adde8b3..1df1feb 100644 (file)
@@ -1,20 +1,22 @@
-/*     sgtty.h 4.2     84/12/31        */
-
 /*
 /*
- * Structure for stty and gtty system calls.
+ * Copyright (c) 1985 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ *     @(#)sgtty.h     4.3 (Berkeley) %G%
  */
 
 #ifndef        _IOCTL_
 #include <sys/ioctl.h>
 #endif
  */
 
 #ifndef        _IOCTL_
 #include <sys/ioctl.h>
 #endif
-
-#ifndef _SGTTYB_
-#define        _SGTTYB_
-struct sgttyb {
-       char    sg_ispeed;              /* input speed */
-       char    sg_ospeed;              /* output speed */
-       char    sg_erase;               /* erase character */
-       char    sg_kill;                /* kill character */
-       short   sg_flags;               /* mode flags */
-};
-#endif