pchomp

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

pchomp - remove line endings from a string

SYNOPSIS

#include <pstring.h>

char *pchomp (char *line);

DESCRIPTION

Remove line endings (either CR, CRLF or LF) from the string argument. The string is modified in-place and a pointer to the string is also returned.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

c2lib-1.2.13