The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

sprintf, snprintf - print formatted output

 SYNOPSIS



#include <stdio.h>

int snprintf(char *s, size_t n, const char *format, /* args */ ...);
int sprintf(char *s, const char *format, ...);

 DESCRIPTION

Refer to fprintf().

DERIVATION

Derived from Issue 1 of the SVID.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]