GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
strip.c File Reference

DBMI Library (base) - strip strings. More...

#include <grass/dbmi.h>
Include dependency graph for strip.c:

Go to the source code of this file.

Functions

void db_strip (char *buf)
 Strip given string. More...
 

Detailed Description

DBMI Library (base) - strip strings.

(C) 1999-2009, 2011 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
Joel Jones (CERL/UIUC), Radim Blazek
Doxygenized by Martin Landa <landa.martin gmail.com> (2011)

Definition in file strip.c.

Function Documentation

◆ db_strip()

void db_strip ( char *  buf)

Strip given string.

'buf' is rewritten in place with leading and trailing white space removed.

Parameters
bufstring buffer

Definition at line 25 of file strip.c.