Skip to content
fossil-examples Artifact [a9d66bb610]
Login

Artifact [a9d66bb610]

Artifact a9d66bb610bdfb3c2b0b96ed5c60ff67bdb4b1fbb38957e0bfe1b30948168301:


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

#define WRAP_VERSION "2.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