Skip to contentSkip to conversation

Document the types "struct termios" and "struct termios2"

DISCUSSION Alejandro Colomar (man-pages) 2 participants 3 messages Aug 2, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

From a few patches of Pali and their subsequent discussions, it was clear that those types need to be documented (the most appropriate place being system_data_types(7), with link pages termios-struct(3) and termios2-struct(3)).

The most important part (the one we had problems with) being which headers should be included for each type (and for each version of the type (kernel/glibc)). That includes the recommended header, and other headers that _shall_ also provide the type.

Is there someone that knows those types enough to write such documentation and wants to do it? :)

Thanks,

Alex

Signature · 3 lines
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
#1 lore raw

+ linux-serial

Quoted 3 lines · On Monday 02 August 2021 14:38:43 Alejandro Colomar (man-pages) wrote:

Hi,

From a few patches of Pali and their subsequent discussions,

For others, link to patch with code example:
https://lore.kernel.org/linux-man/[email protected]/

And links to other discussions:
https://lore.kernel.org/linux-man/[email protected]/t/#u
https://lore.kernel.org/linux-man/[email protected]/t/#u
https://lore.kernel.org/linux-man/[email protected]/t/#u

Quoted 21 lines

it was clear
that those types need to be documented (the most appropriate place being system_data_types(7), with link pages termios-struct(3) and termios2-struct(3)).

The most important part (the one we had problems with) being which headers should be included for each type (and for each version of the type (kernel/glibc)). That includes the recommended header, and other headers that _shall_ also provide the type.

Is there someone that knows those types enough to write such documentation and wants to do it? :)

Thanks,

Alex

Signature · 3 lines
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
#2 lore raw

+= linux-man@

:)

Quoted 36 lines · Pali Rohár

+ linux-serial

Quoted 3 lines · On Monday 02 August 2021 14:38:43 Alejandro Colomar (man-pages) wrote:

Hi,

From a few patches of Pali and their subsequent discussions,

For others, link to patch with code example:
https://lore.kernel.org/linux-man/[email protected]/

And links to other discussions:
https://lore.kernel.org/linux-man/[email protected]/t/#u
https://lore.kernel.org/linux-man/[email protected]/t/#u
https://lore.kernel.org/linux-man/[email protected]/t/#u

Quoted 21 lines

it was clear
that those types need to be documented (the most appropriate place being system_data_types(7), with link pages termios-struct(3) and termios2-struct(3)).

The most important part (the one we had problems with) being which headers should be included for each type (and for each version of the type (kernel/glibc)). That includes the recommended header, and other headers that _shall_ also provide the type.

Is there someone that knows those types enough to write such documentation and wants to do it? :)

Thanks,

Alex

Signature · 3 lines
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
Signature · 3 lines
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/