Operating System - HP-UX
1752664 Members
5341 Online
108788 Solutions
New Discussion юеВ

Re: where can i get the man pages for the exported interfaces

 
kaijile
Frequent Advisor

where can i get the man pages for the exported interfaces

where can i get the man pages for the exported interfaces?
like lookupname/vn_create/proc_pstat_idx_lookup_hold/proc_pstat_lookup_next_hold/proc_release
.

bash-4.0# nm -x /stand/vmunix |grep lookupname
[30860] |0x0000000000174c30|0x00000064|FUNC |GLOB |0| .text|lookupname
bash-4.0# nm -x /stand/vmunix |grep vn_create
[21615] |0x00000000001998f0|0x0000019c|FUNC |GLOB |0| .text|vn_create

I cannot find these exported interfaces in the DDR.pdf and DDG.pd
4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: where can i get the man pages for the exported interfaces

Why do you think these are exported interfaces?
Basically it is usually "exported" only if documented.
kaijile
Frequent Advisor

Re: where can i get the man pages for the exported interfaces

vn_create is in the /usr/include/sys/vnode.h

bash-4.0# nm -x /stand/vmunix |grep vn_create
[21615] |0x00000000001998f0|0x0000019c|FUNC |GLOB |0| .text|vn_create

the "GLOB" show the vn_create function symbol
is exported.
Dennis Handly
Acclaimed Contributor

Re: where can i get the man pages for the exported interfaces

>the "GLOB" show the vn_create function symbol
is exported.

That doesn't mean it is available nor documented for users to call.
kaijile
Frequent Advisor

Re: where can i get the man pages for the exported interfaces

In my DLKM the lookupname() work fine