mud/lib/doc/sefun/wrap
2020-09-06 05:43:07 -07:00

29 lines
689 B
Plaintext

WRAP(1) WRAP(1)
NAME
wrap() - returns a string wrapped to a specified terminal
width
SYNOPSIS
varargs string wrap(string str, int width)
DESCRIPTION
If a second argument is passed, the first argument is
fitted with carriage returns to wrap the string for
display on a terminal as wide as the second argument. If
no second argument is given, a terminal width of 80 is
assumed.
LOCATION
/secure/sefun/strings.c
SEE ALSO
arrange_string(), format_page(), sprintf()
Author
Descartes of Borg
1