uszprintf man page on DragonFly

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

uszprintf(3)			Allegro manual			  uszprintf(3)

NAME
       uszprintf - Writes formatted data into a buffer, specifying size. Alle‐
       gro game programming library.

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)

Allegro				 version 4.4.2			  uszprintf(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