Query: firestring_snprintf
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
firestring_snprintf(3) Library Functions Manual firestring_snprintf(3)NAMEfirestring_snprintf - snprintf(3) provided as a replacement so programs can maintain ANSI C complianceSYNOPSIS#include <firestring.h> -lfirestring long firestring_snprintf(char * out, const size_t size, const char * const format, ...)DESCRIPTIONfirestring_snprintf() writes a maximum of size bytes to out based on the formatting rules specified in format and the further arguments provided. As snprintf(3) is not a ANSI C function, firestring_snprintf() is provided 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 for- mat.RETURN VALUEReturns the number of bytes written to out not including the trailing nil.AUTHORIan Gulliver <ian@penguinhosting.net>SEE ALSOlibfirestring(3) 2003-05-15 firestring_snprintf(3)
Related Man Pages |
---|
std::decimal(3) - centos |
query_module(2) - redhat |
err_error_string(3) - redhat |
firestring_snprintf(3) - debian |
snprintf(9f) - sunos |
Similar Topics in the Unix Linux Community |
---|
Convert UTF8 Format file to ANSI format |
Convert UTF8 Format file to ANSI format |
File conversion from Unix to ANSI |
Convert file from Unix - ANSI to PC - ANSI |
Unix_ANSI to PC-ANSI |