ne_shave man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]



NE_SHAVE(3)		neon API reference	      NE_SHAVE(3)

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

neon 0.28.6		  18 August 2009			1

[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net