"Fossies" - the Fresh Open Source Software Archive 
Member "neon-0.31.2/doc/man/ne_shave.3" (20 Jun 2020, 1926 Bytes) of package /linux/www/neon-0.31.2.tar.gz:
Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous.
Alternatively you can here
view or
download the uninterpreted manual source code.
A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest
Fossies "Diffs" side-by-side code changes report for "ne_shave.3":
0.31.1_vs_0.31.2.
NE_SHAVE
NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
AUTHOR
COPYRIGHT
NAME
ne_shave
− trim whitespace from a string
SYNOPSIS
#include
<ne_string.h>
|
char
*ne_shave(char *str,
const char *whitespace); |
|
DESCRIPTION
ne_shave
returns a portion of str with any leading or trailing
characters in the whitespace array removed.
str may be modified. Note that the return value may
not be equal to str.
EXAMPLES
The following
code segment will output "fish":
char s[] =
".!.fish!.!";
puts(ne_shave(s, ".!"));
AUTHOR
Joe
Orton <neon@lists.manyfish.co.uk>
Author.
COPYRIGHT