.\"***************************************************************************
-.\" Copyright (c) 2010-2017,2018 Free Software Foundation, Inc. *
+.\" Copyright 2018-2019,2020 Thomas E. Dickey *
+.\" Copyright 2010-2015,2017 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
.\" copy of this software and associated documentation files (the *
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_sp_funcs.3x,v 1.10 2018/04/07 20:58:41 tom Exp $
+.\" $Id: curs_sp_funcs.3x,v 1.18 2020/02/02 23:34:34 tom Exp $
.TH curs_sp_funcs 3X ""
+.ie \n(.g .ds `` \(lq
+.el .ds `` ``
+.ie \n(.g .ds '' \(rq
+.el .ds '' ''
.na
.hy 0
.SH NAME
.hy
.SH SYNOPSIS
\fB#include <curses.h>\fR
+\fB#include <term.h>\fR
.nf
.sp
\fBint alloc_pair_sp(SCREEN*, int, int);\fR
.br
\fBint endwin_sp(SCREEN*);\fR
.br
-\fBint erasechar_sp(SCREEN*);\fR
+\fBchar erasechar_sp(SCREEN*);\fR
.br
\fBint extended_color_content_sp(SCREEN *, int, int *, int *, int *);\fR
.br
.br
\fBint extended_slk_color_sp(SCREEN*, int);\fR
.br
-\fBint filter_sp(SCREEN*);\fR
+\fBvoid filter_sp(SCREEN*);\fR
.br
\fBint find_pair_sp(SCREEN*, int, int);\fR
.br
.br
\fBWINDOW* getwin_sp(SCREEN*, FILE*);\fR
.br
-\fBint halfdelay_sp(SCREEN*);\fR
+\fBint halfdelay_sp(SCREEN*, int);\fR
.br
\fBbool has_colors_sp(SCREEN*);\fR
.br
.br
\fBint noecho_sp(SCREEN*);\fR
.br
-\fBint nofilter_sp(SCREEN*);\fR
+\fBvoid nofilter_sp(SCREEN*);\fR
.br
\fBint nonl_sp(SCREEN*);\fR
.br
.br
\fBint slk_attrset_sp(SCREEN*, const chtype);\fR
.br
-\fBint slk_attr_sp(SCREEN*);\fR
+\fBattr_t slk_attr_sp(SCREEN*);\fR
.br
\fBint slk_clear_sp(SCREEN*);\fR
.br
.br
\fBint slk_init_sp(SCREEN*, int);\fR
.br
-\fBint slk_label_sp(SCREEN*, int);\fR
+\fBchar* slk_label_sp(SCREEN*, int);\fR
.br
\fBint slk_noutrefresh_sp(SCREEN*);\fR
.br
.br
\fBvoid use_env_sp(SCREEN*, bool);\fR
.br
-\fBvoid use_tioctl_sp (SCREEN *, bool)\fR
+\fBvoid use_tioctl_sp(SCREEN *, bool);\fR
.br
\fBint use_legacy_coding_sp(SCREEN*, int);\fR
.br
.sp
\fB#include <form.h>\fR
.sp
-\fBint new_form_sp(SCREEN*, FIELD **);\fR
+\fBFORM* new_form_sp(SCREEN*, FIELD **);\fR
.sp
\fB#include <menu.h>\fR
.sp
-\fBint new_menu_sp(SCREEN*, ITEM **);\fR
+\fBMENU* new_menu_sp(SCREEN*, ITEM **);\fR
.sp
\fB#include <panel.h>\fR
.sp
-\fBint ceiling_panel(SCREEN*);\fR
+\fBPANEL* ceiling_panel(SCREEN*);\fR
.br
\fBPANEL* ground_panel(SCREEN*);\fR
.br
-\fBint update_panels_sp(SCREEN*);\fR
+\fBvoid update_panels_sp(SCREEN*);\fR
.sp
\fB#include <term.h>\fR
.sp
.br
\fBint putp_sp(SCREEN*, const char *);\fR
.br
-\fBint tgetflag_sp(SCREEN*, char *, const char *);\fR
+\fBint tgetflag_sp(SCREEN*, const char *);\fR
.br
\fBint tgetent_sp(SCREEN*, char *, const char *);\fR
.br
NCURSES_SP_NAME
The new functions are named using the macro \fINCURSES_SP_NAME\fP,
which hides the actual implementation.
-Currently this adds a "_sp" suffix to the name of the unextended function.
+Currently this adds a \*(``_sp\*('' suffix to the name of the unextended function.
This manual page indexes the extensions showing the full name.
However the proper usage of these functions uses the macro,
to provide for the possibility of changing the naming convention