Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man3curses/curs_clear.3curses
Real path: /usr/share/man/man3curses/curs_clear.3curses
Zurück
'\" te .\" Copyright (c) 1989, AT&T. All rights reserved. .\" Portions Copyright (c) 1996, Oracle and/or its affiliates. All rights reserved. .TH curs_clear 3CURSES "31 Dec 1996" "Oracle Solaris 11.4" "Curses Library Functions" .SH NAME curs_clear, erase, werase, clear, wclear, clrtobot, wclrtobot, clrtoeol, wclrtoeol \- clear all or part of a curses window .SH SYNOPSIS .LP .nf \fBcc\fR [ \fIflag\fR... ] \fIfile\fR ... \fB-lcurses\fR [ \fIlibrary\fR ... ] #include <curses.h> \fBint\fR \fBerase\fR(\fBvoid\fR); .fi .LP .nf \fBint\fR \fBwerase\fR(\fBWINDOW *\fR\fIwin\fR); .fi .LP .nf \fBint\fR \fBclear\fR(\fBvoid\fR); .fi .LP .nf \fBint\fR \fBwclear\fR(\fBWINDOW *\fR\fIwin\fR); .fi .LP .nf \fBint\fR \fBclrtobot\fR(\fBvoid\fR); .fi .LP .nf \fBint\fR \fBwclrtobot\fR(\fBWINDOW *\fR\fIwin\fR); .fi .LP .nf \fBint\fR \fBclrtoeol\fR(\fBvoid\fR); .fi .LP .nf \fBint\fR \fBwclrtoeol\fR(\fBWINDOW *\fR\fIwin\fR); .fi .SH DESCRIPTION .sp .LP The \fBerase()\fR and \fBwerase()\fR routines copy blanks to every position in the window. .sp .LP The \fBclear()\fR and \fBwclear()\fR routines are like \fBerase()\fR and \fBwerase()\fR, but they also call \fBclearok()\fR \fB,\fR so that the screen is cleared completely on the next call to \fBwrefresh()\fR for that window and repainted from scratch. .sp .LP The \fBclrtobot()\fR and \fBwclrtobot()\fR routines erase all lines below the cursor in the window. Also, the current line to the right of the cursor, inclusive, is erased. .sp .LP The \fBclrtoeol()\fR and \fBwclrtoeol()\fR routines erase the current line to the right of the cursor, inclusive. .SH RETURN VALUES .sp .LP All routines return the integer \fBOK\fR, or a non-negative integer if \fBimmedok()\fR is set. See \fBcurs_outopts\fR(3CURSES). .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ MT-Level Unsafe .TE .sp .SH SEE ALSO .sp .LP \fBcurs_outopts\fR(3CURSES), \fBcurs_refresh\fR(3CURSES), \fBcurses\fR(3CURSES), \fBattributes\fR(7) .SH NOTES .sp .LP The header <\fBcurses.h\fR> automatically includes the headers <\fBstdio.h\fR> and <\fBunctrl.h\fR>. .sp .LP Note that \fBerase()\fR, \fBwerase()\fR, \fBclear()\fR, \fBwclear()\fR, \fBclrtobot()\fR, and \fBclrtoeol()\fR may be macros.