carta
rtrim(3abz)

rtrim3abz

Trim whitespace from a string.

Part of trim(3abz).

Usage

void ltrim(char *str);

void rtrim(char *str);

void trim(char *str);

Libraries

Abz Library (-labz), Debug Library (-ldebug)

Overview

The ltrim() function trim blanks from the left side of the specified string. The rtrim() function trim blanks from the right side of the specified string, and the trim() function trim blanks from both sides of the specified string.

Notes

None of the libabz routines are thread-safe. I'm not planning to change this either! For more information, please see http://threading.2038bug.com/

Author

Written by Abraham vd Merwe <[email protected]>

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