Skip to content
fossil-examples Artifact [14cfee95f3]
Login

Artifact [14cfee95f3]

Artifact 14cfee95f31f60874778385476959749cfeff4e2b23e3a0141e595296989c8d0:


/* 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.0"

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

#endif