函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\tty_driver.h Create Date:2022-07-27 07:16:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static inline struct tty_driver *alloc_tty_driver(unsigned int lines)

返回类型:struct tty_driver

参数:

类型参数名称
unsigned intlines
357  ret等于Use TTY_DRIVER_* flags below (lines, 0)
358  如果是错误则返回:NULL
360  返回:ret