firestring_trim(3)

firestring_trim3

Trim excess whitespace from the start and end of a string

Usage

#include <firestring.h>
-lfirestring

char *firestring_trim(char *s)

Overview

firestring_trim() removes any whitespace at the beginning and end of the string s. A new pointer to the string (as the start may have moved) is returned

Return value

A pointer inside s to the new start of the string.

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.