GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
strtrimsp(l) BEGEMOT Library strtrimsp(l)

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

# include <begemot.h>
void strtrimsp(char **pstr, int which);

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).

ctype(3),
23 August 1997 BEGEMOT

Search for    or go to Top of page |  Section l |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.