怎样才能man到linux内核函数?

内核编译和嵌入式产品的设计与开发
回复
ghostheaven
帖子: 6
注册时间: 2006-01-04 8:37

怎样才能man到linux内核函数?

#1

帖子 ghostheaven » 2007-06-10 18:51

比如说像printk之类的
头像
xport
帖子: 1277
注册时间: 2006-05-19 21:23
联系:

#2

帖子 xport » 2007-06-10 19:16

try the following packages:

代码: 全选

$ apt-cache search "^manpages.*dev"
manpages-dev - Manual pages about using GNU/Linux for development
manpages-de-dev - German development manpages
manpages-fr-dev - French version of the development manual pages
manpages-ja-dev - Japanese version of the manual pages (for developers)
manpages-pl-dev - Polish man pages for developers
manpages-pt-dev - Portuguese Versions of the Manual Pages
manpages-posix-dev - Manual pages about using a POSIX system for development
其实我是一个演员!-http://blog.csdn.net/xport/
ghostheaven
帖子: 6
注册时间: 2006-01-04 8:37

#3

帖子 ghostheaven » 2007-06-10 19:31

这些包都有,但是依然man不到printk :shock:
枫林
帖子: 45
注册时间: 2006-10-22 16:37

#4

帖子 枫林 » 2007-06-11 21:33

xport 写了:try the following packages:

代码: 全选

$ apt-cache search "^manpages.*dev"
manpages-dev - Manual pages about using GNU/Linux for development
manpages-de-dev - German development manpages
manpages-fr-dev - French version of the development manual pages
manpages-ja-dev - Japanese version of the manual pages (for developers)
manpages-pl-dev - Polish man pages for developers
manpages-pt-dev - Portuguese Versions of the Manual Pages
manpages-posix-dev - Manual pages about using a POSIX system for development



一个应该是E文版本的吧?
后面那些看都看不懂的语言似乎可以不用下



请问下了之后怎么使用?
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#5

帖子 eexpress » 2007-06-12 0:12

manpages-dev
而已,还有dev-help

代码: 全选

PRINTF(1)                                    FSF                                   PRINTF(1)

NAME
       printf - 格式化并显示数据

总览 (SYNOPSIS)
       printf FORMAT [ARGUMENT]...
       printf OPTION

描述 (DESCRIPTION)
       根据 FORMAT 显示 ARGUMENT(s) .

● 鸣学
头像
Xtire
帖子: 188
注册时间: 2005-09-11 14:08
来自: N朝古都

#6

帖子 Xtire » 2007-06-12 0:46

去内核的头文件里找呀 :D
boluor
帖子: 274
注册时间: 2007-10-14 0:11

Re: 怎样才能man到linux内核函数?

#7

帖子 boluor » 2009-03-05 22:20

sudo apt-get install manpages-dev devhelp。都安装成功了,还是不可以man 到printk。
头像
lerosua
论坛版主
帖子: 8455
注册时间: 2007-11-29 9:41
联系:

Re: 怎样才能man到linux内核函数?

#8

帖子 lerosua » 2009-03-05 23:23

内核里的函数因为经常变化,似乎在一般的man里没有的。好像是要直接看内核源码的。
guan123long
帖子: 2
注册时间: 2008-12-20 21:12

Re: 怎样才能man到linux内核函数?

#9

帖子 guan123long » 2009-08-18 11:37

上这个网址http://packages.debian.org/lenny/linux-manual-2.6.26
就可以了
wenjianhn
帖子: 583
注册时间: 2008-10-15 10:49
来自: CS

Re: 怎样才能man到linux内核函数?

#10

帖子 wenjianhn » 2011-03-28 20:05

内核还拥有大量从代码自动生成的文档。它包含内核内部API的全面介绍以及如何
妥善处理加锁的规则。生成的文档会放在 Documentation/DocBook/目录下。在内
核源码的主目录中使用以下不同命令将会分别生成PDF、Postscript、HTML和手册
页等不同格式的文档:
make pdfdocs
make psdocs
make htmldocs
make mandocs

-------
摘自源码的
Documentation/zh_CN/HOWTO

代码: 全选

 _____________
< 呜呜buntu >
 -------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
回复