AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
VPRINTF ( 3S ) VPRINTF ( 3S ) } SEE ALSO printf(3S), varargs(5). - 2-
WIND ( 3T ) ( AT&T UNIX PC only ) WIND (3T) NAME wind - creates and places a window SYNOPSIS #include int wind(type, height, width , flags, pfont) int type, height, width; short flags; char *pfont[]; DESCRIPTION Wind creates a window that is of height by width characters and loads the window with the fonts listed in pfont. Unlike were ate , wind does not need specific coordinates to create a window but creates one of three types of windows: W _POPUP (inside the existing window), W_SON (overlapping the existing window), or W _NEW (a new window that tries not to overlap the existing window). The three types of windows are described in detail below. W _poPUP makes the new window live "inside" the window wncur. Inside is defined as completely within and centered. Overflow goes down and to the right if possible. W _SON makes the new window on the lower right corner if possible. The overlap is determined based on the size of the window wncur. W_NEW creates a window in a new part of the display, avoiding existing windows. This is slower and should only be used where necessary. EXAMPLES menu_t *m; int height, width, windop, wn; height = 5; width = 10; if ( m - > m_flags & M_ WINSON ) windop = W _SON; else if ( m - > m_fiags & M_ WINNEW ) windop = W _NEW; else windop = W _POPUP; wn = wind (windop, height, width, M_BORDFLAGS, 0 ); m -> m_win = wn; SEE ALSO form(3T), menu(3T), tam(3T), window(7). DIAGNOSTICS If wind returns a positive number, the number is the window - 1-
- Page 977 and 978: SINII ( 3M ) SINH ( 3M ) NAME sinh,
- Page 979 and 980: SLEEP (3C) SLEEP ( 3C ) NAME sleep
- Page 981: SPUTL ( 3X ) SPUTL ( 3X ) NAME sput
- Page 985: STDI0 ( 3S ) ( AT&T UNIX PC Only )
- Page 989 and 990: STRING ( 3C ) STRING (3C) NAME strc
- Page 991 and 992: STRTOD (3C) STRTOD (3C) NAME strtod
- Page 993: STRTOL ( 3C ) STRTOL ( 3C ) NAME st
- Page 996 and 997: C) / I I I I I I I I I () �� /
- Page 998 and 999: n "--- --'•
- Page 1000 and 1001: TAM (3T) (AT&T UNIX PC only ) int w
- Page 1002 and 1003: TAM (3T) (AT&T UNIX PC only ) TAM(3
- Page 1004 and 1005: TAM (3T) wputc() wputs() wprintf()
- Page 1006 and 1007: TAM (3T) (AT&T UNIX PC only ) TAM(3
- Page 1008 and 1009: I I I I I I I II I I I I � r"j I
- Page 1010 and 1011: TMPNAM (3S) TMPNAM (3S) SEE ALSO cr
- Page 1012 and 1013: TRACK (3T) (AT&T UNIX PC only ) TRA
- Page 1015: TRIG ( 3M ) TRIG ( 3M) NAME sin, co
- Page 1018 and 1019: TSEARCH ( 3C ) TSEARCH ( 3C ) data
- Page 1021: TTYNAME ( 3C ) TTYNAME ( 3C ) NAME
- Page 1025 and 1026: UNGETC ( 3S ) UNGETC ( 3S ) NAME un
- Page 1027: VPRINTF ( 3S ) VPRINTF ( 3S ) NAME
- Page 1031 and 1032: WRASTOP ( 3T ) ( AT&T UNIX PC only
- Page 1033: INTRO ( 4) INTRO ( 4) NAME intro -
- Page 1036 and 1037: A.OUT ( 4) A.OUT ( 4) data segment
- Page 1038 and 1039: A.OUT (4) A.OUT (4) char n_numaux;
- Page 1041 and 1042: ADF ( 4) (AT&T UNIX PC only ) ADF (
- Page 1043 and 1044: ADF ( 4 ) (AT&T UNIX PC only ) \ \
- Page 1045 and 1046: ADF ( 4) (AT&T UNIX PC only ) FORMA
- Page 1047 and 1048: ADF (4) (AT&T UNIX PC only ) ADF (4
- Page 1049 and 1050: ADF (4) (AT&T UNIX PC only ) ADF (
- Page 1051 and 1052: ADF ( 4) (AT&T UNIX PC only ) ADF (
- Page 1053 and 1054: ADF ( 4 ) (AT&T UNIX PC only ) Toke
- Page 1055 and 1056: AR( 4 ) AR ( 4) NAME ar - common ar
- Page 1057: CHECKLIST ( 4 ) CHECKLIST ( 4 ) NAM
- Page 1060 and 1061: I I I I I I II I I I I I I I I I I
- Page 1063 and 1064: Dffi ( 4 ) Dffi ( 4 ) NAME dir - fo
- Page 1065: FILEHDR (4) (not. on PDP-11) FILEHD
- Page 1068 and 1069: FONT ( 4) (AT&T UNIX PC only ) FONT
- Page 1070 and 1071: I�
- Page 1072 and 1073: FS (4) FS (4) S_type indicates the
- Page 1074 and 1075: (�
- Page 1076 and 1077: FSPEC ( 4) FSPEC ( 4) Several UNIX
VPRINTF ( 3S ) VPRINTF ( 3S )<br />
}<br />
SEE ALSO<br />
printf(3S), varargs(5).<br />
- 2-