strtrimsp man page on DragonFly

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

strtrimsp(l)			BEGEMOT Library			  strtrimsp(l)

NAME
       strtrimsp - trim leading and/or trailing whitespace from a string

SYNOPSIS
       # include <begemot.h>

       void strtrimsp(char **pstr, int which);

DESCRIPTION
       This  function  trims  whitespace  from the string pointed to by *pstr.
       pstr is a pointer to the string pointer.	 The  string  pointer  may  be
       changed by the function, if leading whitespace is removed.  If which is
       0, only leading whitespace is removed, if which	is  1,	only  trailing
       whitespace  is  removed.	 For  all  other values of which both ends are
       trimmed.	 Whitespaceness is determined by isspace(3).

SEE ALSO
       ctype(3),

BEGEMOT				23 August 1997			  strtrimsp(l)
[top]

List of man pages available for DragonFly

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