scrwidth man page on BSDi

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDi logo
[printable version]

SCRWIDTH(3)		    BSD Programmer's Manual		   SCRWIDTH(3)

NAME
     scrwidth - return screen width of a character

SYNOPSIS
     #include <ctype.h>

     int
     scrwidth(int c);

DESCRIPTION
     The scrwidth() function returns the screen width of a character; the num-
     ber of columns that will be used when displaying the character.  This is
     normally 1 for printable characters and 0 for non-printable characters.
     Far East character sets will typically return 2 for ideographs as they
     typically consume two columns when displayed.

RETURN VALUES
     The scrwidth() function returns the number columns typically used when
     displaying the character.	It returns 0 for undefined characters.

SEE ALSO
     ctype(3)

BSDI BSD/OS			 March 8, 1997				     1
[top]

List of man pages available for BSDi

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net