firestring_snprintf man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

firestring_snprintf(3)					firestring_snprintf(3)

NAME
       firestring_snprintf - snprintf(3) provided as a replacement so programs
       can maintain ANSI C compliance

SYNOPSIS
       #include <firestring.h>
       -lfirestring

       long firestring_snprintf(char * out, const size_t size,	const  char  *
       const format, ...)

DESCRIPTION
       firestring_snprintf()  writes  a	 maximum of size bytes to out based on
       the formatting rules specified in format and the further arguments pro‐
       vided.

       As  snprintf(3) is not a ANSI C function, firestring_snprintf() is pro‐
       vided as a replacement for programs wishing to maintain ANSI C  compli‐
       ance.   It acts much like snprintf(3), except that it only uses single-
       letter format tags, and only supports a subset of the common formats.

       Formats supported:
	      %s - char *
	      %d - int
	      %l - long
	      %u - unsigned int
	      %y - unsigned long
	      %g - signed long long
	      %o - unsigned long long
	      %f - double
	      %t - time_t (printed in ISO format)
	      %e - struct firestring_estr_t *

       The %s type handles NULL values by displaying the string "(null)".  All
       numeric types support zero padding through the standard %02d format.

RETURN VALUE
       Returns	the  number of bytes written to out not including the trailing
       nil.

AUTHOR
       Ian Gulliver <ian@penguinhosting.net>

SEE ALSO
       libfirestring(3)

				  2003-05-15		firestring_snprintf(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net