wresize(3x) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

wresize(3x)

wresize(3x)                      Library calls                     wresize(3x)

NAME
       wresize - resize a curses window

SYNOPSIS
       #include <ncursesw/curses.h>

       int wresize(WINDOW * win, int lines, int columns);

DESCRIPTION
       wresize,  an ncurses extension to the curses library, reallocates stor‐
       age for win, adjusting its dimensions to lines and columns.  If  either
       dimension  is larger than its current value, ncurses fills the expanded
       part of the window with the window's background character as configured
       by wbkgdset(3X) (wide-character API: wbkgrndset(3X)).

RETURN VALUE
       wresize returns OK on success and ERR on failure.  It fails  if  either
       lines  or  columns is less than or equal to zero, or if an error occurs
       while (re)allocating memory for win.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       box; cbp-1 | cbp-1 l | l .  ATTRIBUTE TYPE ATTRIBUTE VALUE = Availabil‐
       ity   library/ncurses = Stability Uncommitted

NOTES
       The only restriction placed on the values of lines and columns is  that
       they  be greater than zero.  They are not compared to the dimensions of
       the curses screen; this keeps the logic of resizeterm(3X) simple.   The
       caller  must  ensure  that  win's  dimensions  fit  within those of the
       screen.

       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at:
       https://github.com/oracle/solaris-userland

       The original community source was downloaded from:
       https://invisible-mirror.net/archives/ncurses/cur‐
       rent/ncurses-6.5-20250614.tgz

       Further information about this software can be found on the open source
       community website at https://invisible-island.net/ncurses/.

EXTENSIONS
       wresize  is  an ncurses(3X) extension, and is not found in SVr4 curses,
       4.4BSD curses, or any other previous curses implementation.

PORTABILITY
       Applications employing ncurses extensions should condition their use on
       the visibility of the NCURSES_VERSION preprocessor macro.

       NetBSD curses adopted wresize in 2001 (release 1.5.3), and PDCurses  in
       2004 (version 2.7).

       It is not possible to resize windows with SVr4 curses.

HISTORY
       Thomas  Dickey developed wresize as an extension to BSD curses in 1988,
       and brought it to ncurses in mid-1995.

AUTHORS
       Thomas Dickey

SEE ALSO
       resizeterm(3X)


ncurses 6.5                       2025-01-18                       wresize(3x)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3