File: firestring_estr_vsprintf.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 (25 lines) | stat: -rw-r--r-- 740 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
25
.\" (C) 2002 Ian Gulliver
.TH firestring_estr_vsprintf 3 2003-05-15
.SH NAME
firestring_estr_vsprintf \-
.BR snprintf (3)
into an estring
.SH SYNOPSIS
.B #include <firestring.h>
.br
.B -lfirestring
.LP
.BI "long firestring_estr_vsprintf(struct firestring_estr_t *" "out" ", const char * const " "format" ", va_list " ap ")"
.SH DESCRIPTION
firestring_estr_vsprintf() behaves exactly like
.BR firestring_snprintf (3)
except that it writes to an estring (which contains
the size internally, so size is not needed as a
parameter), and it takes an stdarg object instead of a list of arguments.
.SH RETURN VALUE
Returns the number of bytes written to
.IR out .
.SH AUTHOR
Ian Gulliver <ian@penguinhosting.net>
.SH SEE ALSO
.BR libfirestring (3)