GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PS_HYPHENATE(3) FreeBSD Library Functions Manual PS_HYPHENATE(3)

      uwe@steinmann.cx     
UWE STEINMANN 2003Uwe SteinmannApril 16, 2004;

PS_hyphenate — Hyphenates a word

#include <pslib.h>

int PS_hyphenate(PSDoc *psdoc, const char *text, char **hyphens)

Hyphenates 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.

Returns -1 in case of an error, and otherwise 0.

PS_boot(3), PS_show_boxed(3), locale(1)

This manual page was written by Uwe Steinmann <uwe@steinmann.cx>.

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.