bsd.cfg: Added u_char, u_short, u_int, u_long types. and a define TAILQ_HEAD.

This commit is contained in:
Daniel Marjamäki 2020-12-10 11:43:45 +01:00
parent feeddc39d5
commit 1c99597b9f
1 changed files with 7 additions and 0 deletions

View File

@ -295,4 +295,11 @@
</function> </function>
<podtype name="FTS"/> <podtype name="FTS"/>
<podtype name="FTSENT"/> <podtype name="FTSENT"/>
<!-- This type definitions refer to https://mandoc.bsd.lv/includes/sys/types.h.html -->
<podtype name="u_char" sign="u" stdtype="char"/>
<podtype name="u_short" sign="u" stdtype="short"/>
<podtype name="u_int" sign="u" stdtype="int"/>
<podtype name="u_long" sign="u" stdtype="long"/>
<!-- https://linux.die.net/man/3/tailq_head -->
<define name="TAILQ_HEAD(name,type)" value="struct name { type *first; type *last; }"/>
</def> </def>