GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  USZPRINTF (3)

NAME

uszprintf - Writes formatted data into a buffer, specifying size. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

SYNOPSIS

#include <allegro.h>

int uszprintf(char *buf, int size, const char *format, ...);

DESCRIPTION

This function writes formatted data into the output buffer, whose length in bytes is specified by ‘size’ and which is guaranteed to be NULL terminated. Example:

   char buffer[10];
   int player_score;
   ...
   uszprintf(buffer, sizeof(buffer), "Your score is: %d", player_score);

RETURN VALUE

Returns the number of characters that would have been written without eventual truncation (like with usprintf), not including the terminating null character.

SEE ALSO

uconvert(3), usprintf(3), uvszprintf(3), exgui(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro USZPRINTF (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.