Skip to content
fossil-examples Artifact [978e9c76d9]
Login

Artifact [978e9c76d9]

Artifact 978e9c76d919ae5aa3c9367ad591389be9de71082092bee2824854d27c8545cc:


/* 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