Skip to content
fossil-examples Documentation
Login

Documentation

/* wrap: word-wrap text to a column width. Zero-clause BSD license. */
#ifndef WRAP_H
#define WRAP_H
#include <stdio.h>

#define WRAP_VERSION "1.1"

/* Writes text to out, breaking lines so that none is wider than width. */
void wrap_print(FILE *out, const char *text, int width);

#endif