bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 13/23] man/curs_terminfo.3x: Add "Header Files" subsection.


From: G. Branden Robinson
Subject: [PATCH 13/23] man/curs_terminfo.3x: Add "Header Files" subsection.
Date: Thu, 26 Dec 2024 21:35:26 -0600

Add "Header Files" subsection to "PORTABILITY" section, since modern
systems don't need to include the "curses.h" header file if they don't
use the curses API (cf. the terminfo API).
---
 man/curs_terminfo.3x | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/man/curs_terminfo.3x b/man/curs_terminfo.3x
index 8fa83eeb2..b2b5bbe8b 100644
--- a/man/curs_terminfo.3x
+++ b/man/curs_terminfo.3x
@@ -740,6 +740,18 @@ .SH PORTABILITY
 \fB\%setterm\fP is not described by X/Open and must be considered
 non-portable.
 All other functions are as described by X/Open.
+.SS "Header Files"
+On legacy
+.I curses
+systems,
+include
+.I \%curses.h
+and
+.I \%term.h
+in that order
+to get the definitions for these strings,
+numbers,
+and flags.
 .SS "Compatibility Macros"
 This implementation provides a few macros for compatibility with systems
 before SVr4
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]