firestring_chomp(3)

firestring_chomp3

Trim excess whitespace from the end of a string

Usage

#include <firestring.h>
-lfirestring

char *firestring_chomp(char *s)

Overview

firestring_chomp() removes any whitespace at the end of the string s. The string is modified in place and returned as well.

Return value

s after having been modified.

Releases

Unchanged in 6 releases since Debian 3.1 (Sarge).

  1. 3.1–8

Author

Ian Gulliver <[email protected]>

From libfirestring-dev 0.9.12-8 in Debian 8 (Jessie). Parsed by carta from the page's man source.