rbuf_last(3)

rbuf_last3

Get the last byte of an rbuf's buffer.

Usage

#include <roy.h>

char rbuf_last (RBuf *buf);

Overview

Retrieves the last character of the rbuf's buffer.

Return value

Calls to rbuf_last(3) return a single character which is a copy of the last character in the rbuf's buffer (before the hidden '\0').

Errors

Calls to rbuf_last(3) never fail.

Macro

rbuf_last(3) is implemented using a macro.

Releases

2 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0
  2. 3.1

From libroy-dev 1.0.8-1 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.