In file output.h:

void sprompt

(char* buf, int num, ...)

Format a prompt and store it in a string.

Documentation

Format a prompt and store it in a string.

This function behaves somewhat like prompt(), but stores the formatted text in a string, instead of printing it out directly. There are a few subtle but important differences, due to the way sprint() works. See the documentation for sprint() for a list of the differences in formatting.

Parameters:
buf - The buffer to hold the resultant prompt string.
num - The prompt number to use, followed by any arguments needed by the prompt in question.
See Also:
prompt(), sprompt_other(), printf(), print(), sprint(), sprint_other().

Alphabetic index



This page was generated with the help of DOC++.