File: firestring_trim.3

package info (click to toggle)
firedns 0.9.12-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,192 kB
  • ctags: 322
  • sloc: ansic: 4,026; sh: 964; makefile: 6
file content (24 lines) | stat: -rw-r--r-- 580 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.\" (C) 2002 Ian Gulliver
.TH firestring_trim 3 2003-07-30
.SH NAME
firestring_trim \-
trim excess whitespace from the start and end of a string
.SH SYNOPSIS
.B #include <firestring.h>
.br
.B -lfirestring
.LP
.BI "char *firestring_trim(char *" "s" ")"
.SH DESCRIPTION
firestring_trim() removes any whitespace at the beginning and end
of the string
.IR s.
A new pointer to the string (as the start may have moved) is returned
.SH RETURN VALUE
A pointer inside
.I s
to the new start of the string.
.SH AUTHOR
Ian Gulliver <ian@penguinhosting.net>
.SH SEE ALSO
.BR libfirestring (3)