⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 posix-device-and-class-specific-functions.html

📁 有关ecos2。0介绍了实时嵌入式的结构以及线程调度的实现和内存的管理等
💻 HTML
字号:
<!-- Copyright (C) 2003 Red Hat, Inc.                                --><!-- This material may be distributed only subject to the terms      --><!-- and conditions set forth in the Open Publication License, v1.0  --><!-- or later (the latest version is presently available at          --><!-- http://www.opencontent.org/openpub/).                           --><!-- Distribution of the work or derivative of the work in any       --><!-- standard (paper) book form is prohibited unless prior           --><!-- permission is obtained from the copyright holder.               --><HTML><HEAD><TITLE>Device and Class Specific Functions [POSIX Section 7]</TITLE><meta name="MSSmartTagsPreventParsing" content="TRUE"><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+"><LINKREL="HOME"TITLE="eCos Reference Manual"HREF="ecos-ref.html"><LINKREL="UP"TITLE="POSIX Standard Support"HREF="posix-standard-support.html"><LINKREL="PREVIOUS"TITLE="Input and Output [POSIX Section 6]"HREF="posix-input-and-output.html"><LINKREL="NEXT"TITLE="C Language Services [POSIX Section 8]"HREF="posix-c-language-services.html"></HEAD><BODYCLASS="SECT1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">eCos Reference Manual</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="posix-input-and-output.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 31. POSIX Standard Support</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="posix-c-language-services.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="POSIX-DEVICE-AND-CLASS-SPECIFIC-FUNCTIONS">Device and Class Specific Functions &#0091;POSIX Section 7&#0093;</H1><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN13079">Functions Implemented</H2><TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">speed&#0095;t cfgetospeed( const struct termios &#0042;termios&#0095;p ); int cfsetospeed( struct termios &#0042;termios&#0095;p, speed&#0095;t speed ); speed&#0095;t cfgetispeed( const struct termios &#0042;termios&#0095;p ); int cfsetispeed( struct termios &#0042;termios&#0095;p, speed&#0095;t speed ); int tcgetattr( int fd, struct termios &#0042;termios&#0095;p ); int tcsetattr( int fd, int optional&#0095;actions,	       const struct termios &#0042;termios&#0095;p ); int tcsendbreak( int fd, int duration ); int tcdrain( int fd );int tcflush( int fd, int queue&#0095;selector ); int tcsendbreak( int fd, int action );</PRE></TD></TR></TABLE></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN13082">Functions Omitted</H2><TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">pid&#0095;t tcgetpgrp( int fd ); int tcsetpgrp( int fd, pid&#0095;t pgrp );</PRE></TD></TR></TABLE></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN13085">Notes</H2><P></P><UL><LI><P>	    Only the functionality relevant to basic serial device	    control is implemented. Only very limited support for	    canonical input is provided, and then only via the	    &#8220;tty&#8221; devices, not the &#8220;serial&#8221;	    devices. None of the functionality relevant to job	    control, controlling terminals and sessions is	    implemented.	    </P></LI><LI><P>	    Only <SPANCLASS="emphasis"><ICLASS="EMPHASIS">MIN</I></SPAN> &#0061; 0 and	    <SPANCLASS="emphasis"><ICLASS="EMPHASIS">TIME</I></SPAN> &#0061; 0 functionality is	    provided.	    </P></LI><LI><P>	    Hardware flow control is supported if the underlying	    device driver and serial port support it.	    </P></LI><LI><P>	    Support for break, framing and parity errors depends on	    the functionality of the hardware and device driver.	    </P></LI></UL></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="posix-input-and-output.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="ecos-ref.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="posix-c-language-services.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Input and Output &#0091;POSIX Section 6&#0093;</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="posix-standard-support.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">C Language Services &#0091;POSIX Section 8&#0093;</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -