Print this page
1060 termios missing cfmakeraw
Reviewed by: Cyril Plisko <cyril.plisko@mountall.com>
Reviewed by: Albert Lee <trisk@opensolaris.org>


  87         tcflag_t        c_iflag;        /* input modes */
  88         tcflag_t        c_oflag;        /* output modes */
  89         tcflag_t        c_cflag;        /* control modes */
  90         tcflag_t        c_lflag;        /* line discipline modes */
  91         cc_t            c_cc[NCCS];     /* control chars */
  92 };
  93 
  94 /*
  95  * POSIX termios functions
  96  * These functions get mapped into ioctls.
  97  */
  98 
  99 #ifndef _KERNEL
 100 
 101 #if defined(__STDC__)
 102 
 103 extern speed_t cfgetospeed(const struct termios *);
 104 extern int cfsetospeed(struct termios *, speed_t);
 105 extern speed_t cfgetispeed(const struct termios *);
 106 extern int cfsetispeed(struct termios *, speed_t);

 107 extern int tcgetattr(int, struct termios *);
 108 extern int tcsetattr(int, int, const struct termios *);
 109 extern int tcsendbreak(int, int);
 110 extern int tcdrain(int);
 111 extern int tcflush(int, int);
 112 extern int tcflow(int, int);
 113 
 114 #else
 115 
 116 extern speed_t cfgetospeed();
 117 extern int cfsetospeed();
 118 extern speed_t cfgetispeed();
 119 extern int cfsetispeed();

 120 extern int tcgetattr();
 121 extern int tcsetattr();
 122 extern int tcsendbreak();
 123 extern int tcdrain();
 124 extern int tcflush();
 125 extern int tcflow();
 126 
 127 #endif /* __STDC__ */
 128 
 129 #if !defined(__XOPEN_OR_POSIX) || defined(_XPG4_2) || defined(__EXTENSIONS__)
 130 
 131 #if defined(__STDC__)
 132 extern pid_t tcgetsid(int);
 133 #else
 134 extern pid_t tcgetsid();
 135 #endif /* __STDC__ */
 136 
 137 #endif /* !defined(__XOPEN_OR_POSIX) || defined(_XPG4_2) ... */
 138 
 139 #endif




  87         tcflag_t        c_iflag;        /* input modes */
  88         tcflag_t        c_oflag;        /* output modes */
  89         tcflag_t        c_cflag;        /* control modes */
  90         tcflag_t        c_lflag;        /* line discipline modes */
  91         cc_t            c_cc[NCCS];     /* control chars */
  92 };
  93 
  94 /*
  95  * POSIX termios functions
  96  * These functions get mapped into ioctls.
  97  */
  98 
  99 #ifndef _KERNEL
 100 
 101 #if defined(__STDC__)
 102 
 103 extern speed_t cfgetospeed(const struct termios *);
 104 extern int cfsetospeed(struct termios *, speed_t);
 105 extern speed_t cfgetispeed(const struct termios *);
 106 extern int cfsetispeed(struct termios *, speed_t);
 107 extern void cfmakeraw(struct termios *);
 108 extern int tcgetattr(int, struct termios *);
 109 extern int tcsetattr(int, int, const struct termios *);
 110 extern int tcsendbreak(int, int);
 111 extern int tcdrain(int);
 112 extern int tcflush(int, int);
 113 extern int tcflow(int, int);
 114 
 115 #else
 116 
 117 extern speed_t cfgetospeed();
 118 extern int cfsetospeed();
 119 extern speed_t cfgetispeed();
 120 extern int cfsetispeed();
 121 extern void cfmakeraw();
 122 extern int tcgetattr();
 123 extern int tcsetattr();
 124 extern int tcsendbreak();
 125 extern int tcdrain();
 126 extern int tcflush();
 127 extern int tcflow();
 128 
 129 #endif /* __STDC__ */
 130 
 131 #if !defined(__XOPEN_OR_POSIX) || defined(_XPG4_2) || defined(__EXTENSIONS__)
 132 
 133 #if defined(__STDC__)
 134 extern pid_t tcgetsid(int);
 135 #else
 136 extern pid_t tcgetsid();
 137 #endif /* __STDC__ */
 138 
 139 #endif /* !defined(__XOPEN_OR_POSIX) || defined(_XPG4_2) ... */
 140 
 141 #endif