2099 views|3 replies

411

Posts

9

Resources
The OP
 

When writing Linux drivers, where can I find the prototypes or usage instructions of these API functions? [Copy link]

When writing Linux drivers, where can I find the prototypes or usage instructions of these API functions? For example, the function register_chrdev_region for registering device numbers cannot be found by using "man register_chrdev_region", so where can I find the prototype of this function? Where can I check the parameter descriptions? I am a newbie, and I look forward to the answers from the experts. Thank you very much!

This post is from Linux and Android

Latest reply

You can try [man register] to see if you can find it.   Details Published on 2022-7-18 10:35

6040

Posts

204

Resources
2
 

A quick search on the Internet found the kernel API: The Linux Kernel API , register_chrdev_region (kernel.org)

This post is from Linux and Android
 
 

6593

Posts

0

Resources
3
 

Linux provides a wealth of help manuals. When you need to view the parameters of a command, just use man.

The Linux man manual has many chapters below

This post is from Linux and Android
 
 
 

6788

Posts

2

Resources
4
 

You can try [man register] to see if you can find it.

This post is from Linux and Android
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list