openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/rsyslog/8.1903.0-r0/rsyslog-8.1903.0/runtime/stream.c
static rsRetVal strmUnreadChar(strm_t* pThis, uchar c)
{
    assert(pThis != NULL);
    assert(pThis->iUngetC == -1);
    pThis->iUngetC = c;
    --pThis->iCurrOffs; /* one less octet read - NOTE: this can cause problems
    if we got a file change and immediately do an unread and the file is on a
    buffer boundary and the stream is then persisted. With the queue, this can
    not happen as an Unread is only done on record begin, which is never split
    accross files. For other cases we accept the very remote risk. -- rgerhards,
    2008-01-12 */

    return RS_RET_OK;
}
/* unget a single character just like ungetc(). As with that call, there is only
 * a single character buffering capability. rgerhards, 2008-01-07
 */
unget a single character just like ungetc(). As with that call, there is only
a single character buffering capability.
unget a single character just like ungetc () . As with that call there is only a single character buffering capability .
static rsRetVal strmUnreadChar(strm_t* pThis, uchar c)
{
    assert(pThis != NULL);
    assert(pThis->iUngetC == -1);
    pThis->iUngetC = c;
    --pThis->iCurrOffs; 
    return RS_RET_OK;
}
static rsRetVal strmUnreadChar ( strm_t * pThis , uchar c ) { assert ( pThis != NULL ) ; assert ( pThis -> iUngetC == -1 ) ; pThis -> iUngetC = c ; -- pThis -> iCurrOffs ; return RS_RET_OK ; }
unget a single character just like ungetc().
unget a single character just like ungetc () .
/* one less octet read - NOTE: this can cause problems
    if we got a file change and immediately do an unread and the file is on a
    buffer boundary and the stream is then persisted. With the queue, this can
    not happen as an Unread is only done on record begin, which is never split
    accross files. For other cases we accept the very remote risk. -- rgerhards,
    2008-01-12 */