termios(3c) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

termios(3c)

Standard C Library Functions                                       termios(3C)



NAME
       termios - general terminal interface

SYNOPSIS
       #include <termios.h>

       int tcgetattr(int fildes, struct termios *termios_p);


       int tcsetattr(int fildes, int optional_actions,
            const struct termios *termios_p);


       int tcsendbreak(int fildes, int duration);


       int tcdrain(int fildes);


       int tcflush(int fildes, int queue_selector);


       int tcflow(int fildes, int action);


       speed_t cfgetospeed(const struct termios *termios_p);


       int cfsetospeed(struct termios *termios_p, speed_t speed);


       speed_t cfgetispeed(const struct termios *termios_p);


       int cfsetispeed(struct termios *termios_p, speed_t speed);


       #include <sys/types.h>
       #include <termios.h>

       pid_t tcgetpgrp(int fildes);


       int tcsetpgrp(int fildes, pid_t pgid);


       pid_t tcgetsid(int fildes);

DESCRIPTION
       These  functions  describe a general terminal interface for controlling
       asynchronous communications ports. A more detailed overview of the ter‐
       minal  interface  can  be  found in termio(4I), which also describes an
       ioctl(2) interface that provides the same functionality.  However,  the
       function  interface  described by these functions is the preferred user
       interface.


       Each of these functions is now described on a separate manual page.

SEE ALSO
       ioctl(2),  cfgetispeed(3C),  cfgetospeed(3C),  cfsetispeed(3C),   cfse‐
       tospeed(3C),   tcdrain(3C),   tcflow(3C),  tcflush(3C),  tcgetattr(3C),
       tcgetpgrp(3C), tcgetpgrp(3C),  tcgetsid(3C),  tcsendbreak(3C),  tcsend‐
       break(3C), tcsetattr(3C), termio(4I)



Oracle Solaris 11.4               5 Apr 1996                       termios(3C)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3