Changeset 68836 in vbox for trunk/include/iprt
- Timestamp:
- Sep 22, 2017 4:37:46 PM (7 years ago)
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mangling.h
r68818 r68836 1933 1933 # define RTStrmFlush RT_MANGLER(RTStrmFlush) 1934 1934 # define RTStrmGetCh RT_MANGLER(RTStrmGetCh) 1935 # define RTStrmInputGetEchoChars RT_MANGLER(RTStrmInputGetEchoChars)1936 1935 # define RTStrmGetLine RT_MANGLER(RTStrmGetLine) 1937 1936 # define RTStrmOpen RT_MANGLER(RTStrmOpen) … … 1945 1944 # define RTStrmReadEx RT_MANGLER(RTStrmReadEx) 1946 1945 # define RTStrmRewind RT_MANGLER(RTStrmRewind) 1947 # define RTStrmInputSetEchoChars RT_MANGLER(RTStrmInputSetEchoChars)1948 1946 # define RTStrmSetMode RT_MANGLER(RTStrmSetMode) 1949 1947 # define RTStrmWriteEx RT_MANGLER(RTStrmWriteEx) 1948 # define RTStrmIsTerminal RT_MANGLER(RTStrmIsTerminal) 1949 # define RTStrmInputGetEchoChars RT_MANGLER(RTStrmInputGetEchoChars) 1950 # define RTStrmInputSetEchoChars RT_MANGLER(RTStrmInputSetEchoChars) 1951 # define RTStrmQueryTerminalWidth RT_MANGLER(RTStrmQueryTerminalWidth) 1950 1952 # define RTStrNCmp RT_MANGLER(RTStrNCmp) 1951 1953 # define RTStrNICmp RT_MANGLER(RTStrNICmp) -
trunk/include/iprt/stream.h
r62473 r68836 148 148 149 149 /** 150 * Checks if this is a terminal (TTY) or not. 151 * 152 * @returns true if it is, false if it isn't or the stream isn't valid. 153 * @param pStream The stream. 154 */ 155 RTR3DECL(bool) RTStrmIsTerminal(PRTSTREAM pStream); 156 157 /** 158 * Gets the width of the terminal the stream is associated with. 159 * 160 * @returns IPRT status code. 161 * @retval VERR_INVALID_FUNCTION if not connected to a terminal. 162 * @param pStream The stream. 163 * @param pcchWidth Where to return the width. This will never be zero 164 * and always be set, even on error. 165 */ 166 RTR3DECL(int) RTStrmQueryTerminalWidth(PRTSTREAM pStream, uint32_t *pcchWidth); 167 168 /** 150 169 * Rewinds the stream. 151 170 *
Note:
See TracChangeset
for help on using the changeset viewer.