Poster of Linux kernelThe best gift for a Linux geek
firestring_estr_trim

firestring_estr_trim

Section: C Library Functions (3) Updated: 2003-07-30
Local index Up
 

NAME

firestring_estr_trim - remove whitespace from the beginning and end of an estring  

SYNOPSIS

#include <firestring.h>
-lfirestring

void firestring_estr_trim(struct firestring_estr_t *string)  

DESCRIPTION

firestring_estr_trim removes whitespace from the beginning and end of string.  

CAVEATS

This function moves the starting pointer inside string. If string was allocated with firestring_estr_alloc(3), (as opposed to constructed manually pointing inside other memory), future calls to firestring_estr_free(3) will fail if this function trimmed any space from the start of the string. In these cases, use firestring_estr_ip_trim(3) instead.  

RETURN VALUE

None.  

AUTHOR

Ian Gulliver <ian@penguinhosting.net>  

SEE ALSO

libfirestring(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
CAVEATS
RETURN VALUE
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:46:12 GMT, April 16, 2011