ne_shave(3) opensolaris man page | unix.com

Man Page: ne_shave

Operating Environment: opensolaris

Section: 3

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@webdav.org>.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWneon | +--------------------+-----------------+ |Interface Stability | Volatile | +--------------------+-----------------+
NOTES
Source for Neon is available on http://opensolaris.org. neon 0.25.5 20 January 2006 NE_SHAVE(3)
Related Man Pages
ne_buffer_altered(3) - opensolaris
ne_buffer_concat(3) - opensolaris
ne_buffer_destroy(3) - opensolaris
ne_buffer_finish(3) - opensolaris
ne_sock_init(3) - opensolaris
Similar Topics in the Unix Linux Community
Trying to block signal
How to learn UNIX
PHP Man Pages Now Available (Over 10,000)
Grep the 'not running' jobs and will send the update in mail with its name(job)
What's legal and what's not?