|
uwe@steinmann.cxUWE STEINMANN 2003Uwe SteinmannApril 16, 2004; NAMEPS_hyphenate — Hyphenates a wordSYNOPSIS#include <pslib.h>int PS_hyphenate(PSDoc *psdoc, const char *text, char **hyphens) DESCRIPTIONHyphenates the passed word. text should not contain any non alpha characters. Possible positions for breaks are returned in hyphens.This function requires the locale category LC_CTYPE to be set propperly. PS_boot() usually does it by using the enviroment variables. PS_hyphenate() evaluates the value 'hyphenminchars' and the parameter `hyphendict'. hyphendict must be set before calling this function. RETURN VALUEReturns -1 in case of an error, and otherwise 0.SEE ALSOPS_boot(3), PS_show_boxed(3), locale(1)AUTHORThis manual page was written by Uwe Steinmann <uwe@steinmann.cx>. Visit the GSP FreeBSD Man Page Interface. |