Annotation of coherent/b/STREAMS/coh.386/sys4.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * File:       sys4.c
                      3:  *
                      4:  * Purpose:
                      5:  * Non-Sytem V (compatibility) system calls introduced by the 386 port.
                      6:  *
                      7:  * $Log:       sys4.c,v $
                      8:  * Revision 2.2  93/07/26  14:29:12  nigel
                      9:  * Nigel's R80
                     10:  * 
                     11:  * Revision 1.2  92/01/06  12:00:58  hal
                     12:  * Compile with cc.mwc.
                     13:  * 
                     14:  */
                     15: 
                     16: /*
                     17:  * Includes.
                     18:  */
                     19: #include <sgtty.h> 
                     20: 
                     21: /*
                     22:  * Definitions.
                     23:  *     Constants.
                     24:  *     Macros with argument lists.
                     25:  *     Typedefs.
                     26:  *     Enums.
                     27:  */
                     28: 
                     29: /*
                     30:  * Functions.
                     31:  *     Import Functions.
                     32:  *     Export Functions.
                     33:  *     Local Functions.
                     34:  */
                     35: int ustty(); 
                     36: int ugtty(); 
                     37: 
                     38: /*
                     39:  * Global Data.
                     40:  *     Import Variables.
                     41:  *     Export Variables.
                     42:  *     Local Variables.
                     43:  */
                     44: /*
                     45:  *
                     46:  */ 
                     47: 
                     48: int ustty(fd, sp)
                     49: int fd;
                     50: struct sgttyb * sp;
                     51: {
                     52:        return uioctl(fd, TIOCSETP, sp);
                     53: }
                     54: 
                     55: int ugtty(fd, sp)
                     56: int fd;
                     57: struct sgttyb * sp;
                     58: {
                     59:        return uioctl(fd, TIOCGETP, sp);
                     60: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.