Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
firestring_estr_chug(3)	   Library Functions Manual    firestring_estr_chug(3)

NAME
       firestring_estr_chug  -	remove whitespace from the beginning of	an es-
       tring

SYNOPSIS
       #include	<firestring.h>
       -lfirestring

       void firestring_estr_chug(struct	firestring_estr_t *string)

DESCRIPTION
       firestring_estr_chug shortens string by moving the start	forward	 until
       the string begins with a	non-whitespace character or is empty.

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	 fire-
       string_estr_free(3) will	fail if	this function trimmed any  space  from
       the    start    of   the	  string.    In	  these	  cases,   use	 fire-
       string_estr_ip_chug(3) instead.

RETURN VALUE
       None.

AUTHOR
       Ian Gulliver <ian@penguinhosting.net>

SEE ALSO
       libfirestring(3)

				  2003-07-30	       firestring_estr_chug(3)

NAME | SYNOPSIS | DESCRIPTION | CAVEATS | RETURN VALUE | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=firestring_estr_chug&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help