libexplain  1.4.D001
Functions
libexplain/wrap_and_print.h File Reference
#include <libexplain/ac/stdio.h>

Go to the source code of this file.

Functions

void explain_wrap_and_print (FILE *fp, const char *text)
void explain_wrap_and_print_width (FILE *fp, const char *text, int width)

Function Documentation

void explain_wrap_and_print ( FILE *  fp,
const char *  text 
)

The explain_wrap_and_print function may be used to take a piece of text and wrap it to 80 columns and print it to the given output stream.

Parameters:
fpThe file descriptor to write the output on.
textThe text to be wrapped and printed.

Definition at line 293 of file wrap_and_print.c.

void explain_wrap_and_print_width ( FILE *  fp,
const char *  text,
int  width 
)

The explain_wrap_and_print_width function may be used to take a piece of text and wrap it to the specified number of columns and print it to the given output stream.

Parameters:
fpThe file descriptor to write the output on.
textThe text to be wrapped and printed.
widthThe width of the page, counted in fixed-width character columns.

Definition at line 195 of file wrap_and_print.c.