Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\tty_driver.h Create Date:2022-07-28 06:19:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:DEPRECATED Do not use this in new code, use tty_alloc_driver instead.* (And change the return value checks.)

Proto:static inline struct tty_driver *alloc_tty_driver(unsigned int lines)

Type:struct tty_driver

Parameter:

TypeParameterName
unsigned intlines
357  ret = Use TTY_DRIVER_* flags below (lines, 0)
358  If IS_ERR(ret) Then Return NULL
360  Return ret